Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: LayoutTests/http/tests/fouc/scroll-left-while-loading.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698