Index: LayoutTests/css3/device-adapt/opera/descriptor-values-006.html |
diff --git a/LayoutTests/css3/device-adapt/opera/descriptor-values-006.html b/LayoutTests/css3/device-adapt/opera/descriptor-values-006.html |
index a411759c32da2f5446fe9fc57a2e5f2411e10091..0f02b5d4850195186a3526ca0bfc0d8214e7bf7a 100644 |
--- a/LayoutTests/css3/device-adapt/opera/descriptor-values-006.html |
+++ b/LayoutTests/css3/device-adapt/opera/descriptor-values-006.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); |