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

Unified Diff: LayoutTests/fast/css/resize-corner-tracking-touch.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/css/resize-corner-tracking-touch.html
diff --git a/LayoutTests/fast/css/resize-corner-tracking-touch.html b/LayoutTests/fast/css/resize-corner-tracking-touch.html
index 673a3f1b859a401174863e82b3a6ded4e7877ec8..55e47d433ea2fad97f3881238207d9bdac34b4ec 100644
--- a/LayoutTests/fast/css/resize-corner-tracking-touch.html
+++ b/LayoutTests/fast/css/resize-corner-tracking-touch.html
@@ -51,7 +51,7 @@
return;
// Scroll the page first to test that resize works with scrolled page.
- document.body.scrollTop = 50;
+ document.scrollingElement.scrollTop = 50;
// 1. Touch scrolling starting at outside of the object, e.g. offset (6, 7)
// to bottom right corner of the object, won't do the resize.
@@ -67,7 +67,7 @@
resize("textarea1", -20, -20, 20, 10, "resize");
// Scroll the page again
- document.body.scrollTop += 100;
+ document.scrollingElement.scrollTop += 100;
resize("iframe1", -6, -7, 20, 10, "resize");
resize("iframe1", -20, -20, 20, 10, "resize");
« no previous file with comments | « LayoutTests/fast/autoresize/turn-off-autoresize-expected.txt ('k') | LayoutTests/fast/css/zoom-body-scroll.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698