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

Unified Diff: LayoutTests/fast/events/autoscroll-with-non-scrollable-parent.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/fast/events/autoscroll-with-non-scrollable-parent.html
diff --git a/LayoutTests/fast/events/autoscroll-with-non-scrollable-parent.html b/LayoutTests/fast/events/autoscroll-with-non-scrollable-parent.html
index ca3b7cc060ae49dd02243a52e9a90a2c65025c2b..8443f4b19c80d06d5e69c3e6d5e88fa8d1ab5bdf 100644
--- a/LayoutTests/fast/events/autoscroll-with-non-scrollable-parent.html
+++ b/LayoutTests/fast/events/autoscroll-with-non-scrollable-parent.html
@@ -39,10 +39,10 @@
var iframe = document.getElementById('NoScrolliFrame');
var iframeDocument = iframe.contentDocument;
- if (iframeDocument.body.scrollLeft == 0)
+ if (iframeDocument.scrollingElement.scrollLeft == 0)
log("PASSED");
else
- log("FAILED : " + iframeDocument.body.scrollLeft + " pixels have been scrolled");
+ log("FAILED : " + iframeDocument.scrollingElement.scrollLeft + " pixels have been scrolled");
if (window.testRunner)
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698