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 fce7b4c4b2ade6f98a0b79c27799164ae8a516e2..7e114d2bf6e4988ad538cf974c4d90375f547e86 100644 |
--- a/LayoutTests/fast/css/zoom-body-scroll.html |
+++ b/LayoutTests/fast/css/zoom-body-scroll.html |
@@ -18,28 +18,29 @@ |
if (window.testRunner) { |
testRunner.dumpAsText(); |
var body = document.body; |
+ var documentElement = document.documentElement; |
log("scrollHeight: " + body.scrollHeight); |
log("scrollWidth: " + body.scrollWidth); |
log("\nScrolling right to 50"); |
body.scrollLeft = 50; |
- log("scrollLeft: " + body.scrollLeft); |
+ log("scrollLeft: " + documentElement.scrollLeft); |
log("\nZooming in"); |
eventSender.zoomPageIn(); |
log("scrollHeight: " + body.scrollHeight); |
log("scrollWidth: " + body.scrollWidth); |
- log("scrollTop: " + body.scrollTop); |
- log("scrollLeft: " + body.scrollLeft); |
+ log("scrollTop: " + documentElement.scrollTop); |
+ log("scrollLeft: " + documentElement.scrollLeft); |
log("\nScrolling down to 100"); |
body.scrollTop = 100; |
- log("scrollTop: " + body.scrollTop); |
+ log("scrollTop: " + documentElement.scrollTop); |
log("\nZooming back out"); |
eventSender.zoomPageOut(); |
- log("scrollTop: " + body.scrollTop); |
- log("scrollLeft: " + body.scrollLeft); |
+ log("scrollTop: " + documentElement.scrollTop); |
+ log("scrollLeft: " + documentElement.scrollLeft); |
} |
</script> |
</body> |