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

Unified Diff: LayoutTests/fast/events/scroll-to-anchor-in-overflow-hidden.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a couple more tests 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/scroll-to-anchor-in-overflow-hidden.html
diff --git a/LayoutTests/fast/events/scroll-to-anchor-in-overflow-hidden.html b/LayoutTests/fast/events/scroll-to-anchor-in-overflow-hidden.html
index f0518710648e516e786cee855ea84a6c10e7e8a4..d9ad7d9c17dd6d0f6de0d4855c77c1a3c5dcb047 100644
--- a/LayoutTests/fast/events/scroll-to-anchor-in-overflow-hidden.html
+++ b/LayoutTests/fast/events/scroll-to-anchor-in-overflow-hidden.html
@@ -35,7 +35,7 @@
eventSender.mouseUp();
}
- if (document.body.scrollTop == 0)
+ if (document.scrollingElement.scrollTop == 0)
log("Automated test : FAILED : no scroll has occured ");
else
log("Automated test : PASSED");

Powered by Google App Engine
This is Rietveld 408576698