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

Unified Diff: LayoutTests/fast/css/zoom-body-scroll.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
Index: LayoutTests/fast/css/zoom-body-scroll.html
diff --git a/LayoutTests/fast/css/zoom-body-scroll.html b/LayoutTests/fast/css/zoom-body-scroll.html
index 7e114d2bf6e4988ad538cf974c4d90375f547e86..eeb7249d6a22d93988e29ad75ea6bff4f46330f6 100644
--- a/LayoutTests/fast/css/zoom-body-scroll.html
+++ b/LayoutTests/fast/css/zoom-body-scroll.html
@@ -23,7 +23,7 @@
log("scrollWidth: " + body.scrollWidth);
log("\nScrolling right to 50");
- body.scrollLeft = 50;
+ documentElement.scrollLeft = 50;
log("scrollLeft: " + documentElement.scrollLeft);
log("\nZooming in");
@@ -34,7 +34,7 @@
log("scrollLeft: " + documentElement.scrollLeft);
log("\nScrolling down to 100");
- body.scrollTop = 100;
+ documentElement.scrollTop = 100;
log("scrollTop: " + documentElement.scrollTop);
log("\nZooming back out");

Powered by Google App Engine
This is Rietveld 408576698