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..b8ae5b8636c3c56098916dd75675d6c7fc57b8c0 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 body is potentially scrollable (with overflow:hidden the |
+ // box can still be scrolled progamatically). |
tdresser
2015/05/19 13:53:11
progamatically -> programmatically
body -> docume
Rick Byers
2015/05/20 15:10:24
Done.
|
+ 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> |