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

Unified Diff: LayoutTests/compositing/scissor-out-of-viewport.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 | « no previous file | LayoutTests/fast/css/resize-corner-tracking-touch.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/scissor-out-of-viewport.html
diff --git a/LayoutTests/compositing/scissor-out-of-viewport.html b/LayoutTests/compositing/scissor-out-of-viewport.html
index d3e4e830d9c8ef5b3fc0f2e328693757e9c40832..5c46a961858fefa43dc40c24ee5a35ad5e21e928 100644
--- a/LayoutTests/compositing/scissor-out-of-viewport.html
+++ b/LayoutTests/compositing/scissor-out-of-viewport.html
@@ -18,7 +18,7 @@ var ctx = can.getContext("2d");
ctx.fillStyle = "red";
ctx.fillRect(0, 0, 500, 500);
document.getElementById("i").src = can.toDataURL();
-document.body.scrollTop = 50;
+document.documentElement.scrollTop = 50;
if (window.testRunner)
testRunner.dumpAsTextWithPixelResults();
</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css/resize-corner-tracking-touch.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698