Index: LayoutTests/css3/device-adapt/opera/constrain-001.html |
diff --git a/LayoutTests/css3/device-adapt/opera/constrain-001.html b/LayoutTests/css3/device-adapt/opera/constrain-001.html |
index 9563ec028579f95d5b5a23214a13ed024ff7ff5e..4dd81b99c3ec03fdaf6a3c7be282ec6a64e3f3fd 100644 |
--- a/LayoutTests/css3/device-adapt/opera/constrain-001.html |
+++ b/LayoutTests/css3/device-adapt/opera/constrain-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); |