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> |