Index: LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html |
diff --git a/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html b/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html |
index 3266828409c002fb015e1c385cef651705d44048..368b56b1d121d13000bbf58a2606cff95ad83853 100644 |
--- a/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html |
+++ b/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html |
@@ -26,13 +26,16 @@ |
if (window.eventSender) |
window.eventSender.setPageScaleFactor(2, 0, 0); |
- shouldBe("window.document.body.scrollTop", "0"); |
+ // Note that with ScrollTopLeftInterop enabled, document.scrollingElement is |
+ // null because document.body is potentially scrollable (with overflow:hidden |
+ // the box can still be scrolled programmatically). |
+ shouldBe("window.scrollY", "0"); |
if (window.eventSender) { |
eventSender.mouseMoveTo(100, 100); |
eventSender.mouseScrollBy(0, -5); |
} |
- shouldBe("window.document.body.scrollTop", "200"); |
+ shouldBe("window.scrollY", "200"); |
})(); |
</script> |