Index: LayoutTests/fast/autoresize/turn-off-autoresize.html |
diff --git a/LayoutTests/fast/autoresize/turn-off-autoresize.html b/LayoutTests/fast/autoresize/turn-off-autoresize.html |
index ecd2d96d948a5b18fdbe131e20e847cad7ad9795..0692ad0d200527ded0ca1f63c8c7791fea36c749 100644 |
--- a/LayoutTests/fast/autoresize/turn-off-autoresize.html |
+++ b/LayoutTests/fast/autoresize/turn-off-autoresize.html |
@@ -11,8 +11,8 @@ function runTest() |
} |
shouldBe('document.body.clientWidth', 'window.innerWidth'); |
shouldBe('document.body.clientHeight', 'window.innerHeight'); |
- shouldBe('document.body.scrollWidth', 'window.innerWidth'); |
- shouldBe('document.body.scrollHeight', 'window.innerHeight'); |
+ shouldBe('document.scrollingElement.scrollWidth', 'window.innerWidth'); |
+ shouldBe('document.scrollingElement.scrollHeight', 'window.innerHeight'); |
shouldBe('window.innerWidth', 'window.outerWidth'); |
shouldBe('window.innerHeight', 'window.outerHeight'); |
if (window.testRunner) |