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