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

Unified Diff: LayoutTests/fast/css/resize-corner-tracking-touch.html

Issue 25741004: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… Created 7 years, 2 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/compositing/scissor-out-of-viewport.html ('k') | LayoutTests/fast/css/zoom-body-scroll.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d4f6c73ab9b9e1029dc3c8fa304348a8dcec5975..9921f6829fff93f97ee7abf93c534c4654e3b73e 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.documentElement.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.
@@ -68,7 +68,7 @@
resize("textarea1", -20, -20, 20, 10, "resize");
// Scroll the page again
- document.body.scrollTop += 100;
+ document.documentElement.scrollTop += 100;
resize("iframe1", -6, -7, 20, 10, "resize");
resize("iframe1", -20, -20, 20, 10, "noresize");
« no previous file with comments | « LayoutTests/compositing/scissor-out-of-viewport.html ('k') | LayoutTests/fast/css/zoom-body-scroll.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698