Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: LayoutTests/css3/device-adapt/opera/cascading-001.html

Issue 23101004: Make configurationForViewport match production code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed configurationForViewport to viewportAsText Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/css3/device-adapt/opera/cascading-002.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/device-adapt/opera/cascading-001.html
diff --git a/LayoutTests/css3/device-adapt/opera/cascading-001.html b/LayoutTests/css3/device-adapt/opera/cascading-001.html
index 4a77741e3c6a74849d8eac2104fba59afeeffaba..32a09cf51d04aacdb62b8d5c014dfe688e93a8be 100644
--- a/LayoutTests/css3/device-adapt/opera/cascading-001.html
+++ b/LayoutTests/css3/device-adapt/opera/cascading-001.html
@@ -49,16 +49,12 @@
if (window.testRunner) {
viewport.fontSize = parseInt(getComputedStyle(testElm, "").fontSize);
- viewport.deviceWidth = 320;
- viewport.deviceHeight = 480;
viewport.initialWidth = 320;
viewport.initialHeight = 352;
- var vpString = internals.configurationForViewport(document, 1,
- viewport.deviceWidth,
- viewport.deviceHeight,
- viewport.initialWidth,
- viewport.initialHeight);
+ var vpString = internals.viewportAsText(document, 1,
+ viewport.initialWidth,
+ viewport.initialHeight);
var match = /viewport size (.+)x(.+) scale (.+ )/.exec(vpString);
« no previous file with comments | « no previous file | LayoutTests/css3/device-adapt/opera/cascading-002.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698