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

Unified Diff: LayoutTests/compositing/scissor-out-of-viewport.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/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..5a71226d97955cf5f3de0a096cfb58b536dd33c0 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.scrollingElement.scrollTop = 50;
if (window.testRunner)
testRunner.dumpAsTextWithPixelResults();
</script>
« no previous file with comments | « LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html ('k') | LayoutTests/dialog/modal-dialog-scroll-height.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698