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

Unified Diff: LayoutTests/fast/events/autoscroll.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.html
diff --git a/LayoutTests/fast/events/autoscroll.html b/LayoutTests/fast/events/autoscroll.html
index 58a8a49f30cd6196c666b6d181d11e511b2de933..eccbb72d8fe6307914057aecc73f33d2c65963da 100644
--- a/LayoutTests/fast/events/autoscroll.html
+++ b/LayoutTests/fast/events/autoscroll.html
@@ -13,7 +13,7 @@
var ta = document.getElementById('ta');
if (window.eventSender) {
ta.scrollIntoView();
- var h = ta.offsetTop - document.body.scrollTop + 10;
+ var h = ta.offsetTop - document.scrollingElement.scrollTop + 10;
eventSender.dragMode = false;
eventSender.mouseMoveTo(20, h);
eventSender.mouseDown();

Powered by Google App Engine
This is Rietveld 408576698