Index: LayoutTests/http/tests/fouc/scroll-left-while-loading.html |
diff --git a/LayoutTests/http/tests/fouc/scroll-left-while-loading.html b/LayoutTests/http/tests/fouc/scroll-left-while-loading.html |
index e909de34141b92b31d6718f649f8bea50c832f01..321396b91c87aea2fc9868f3a916787825e834d7 100644 |
--- a/LayoutTests/http/tests/fouc/scroll-left-while-loading.html |
+++ b/LayoutTests/http/tests/fouc/scroll-left-while-loading.html |
@@ -5,7 +5,7 @@ if (window.testRunner) { |
testRunner.waitUntilDone(); |
} |
setTimeout(function(){ |
- document.body.scrollLeft; |
+ document.scrollingElement.scrollLeft; |
// Check that ignoreLayoutWithPendingStylesheets will return true if we did a |
// forced repaint after the access to scrollLeft. We should not since the delayed |
// stylesheet below is pending. |