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

Unified Diff: LayoutTests/fast/forms/input-readonly-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
« no previous file with comments | « LayoutTests/fast/forms/autofocus-opera-003.html ('k') | LayoutTests/fast/forms/resources/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/input-readonly-autoscroll.html
diff --git a/LayoutTests/fast/forms/input-readonly-autoscroll.html b/LayoutTests/fast/forms/input-readonly-autoscroll.html
index bc8634c7a3e2f55491d7e79096f75a2ea4da5884..f8ef7b87dd5b5a773e89fabf9c54dfb2156afb3c 100644
--- a/LayoutTests/fast/forms/input-readonly-autoscroll.html
+++ b/LayoutTests/fast/forms/input-readonly-autoscroll.html
@@ -13,7 +13,7 @@
var tf = document.getElementById('tf');
if (window.eventSender) {
tf.scrollIntoView();
- var h = tf.offsetTop - document.body.scrollTop + 10;
+ var h = tf.offsetTop - document.scrollingElement.scrollTop + 10;
eventSender.dragMode = false;
eventSender.mouseMoveTo(20, h);
eventSender.mouseDown();
« no previous file with comments | « LayoutTests/fast/forms/autofocus-opera-003.html ('k') | LayoutTests/fast/forms/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698