Index: LayoutTests/fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html |
diff --git a/LayoutTests/fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html b/LayoutTests/fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html |
index b0c390957b875f959d7386107ec5a1e6036f43ef..8f9f6a128eeb7ebcf507eb131e6998c0e0f2b55b 100644 |
--- a/LayoutTests/fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html |
+++ b/LayoutTests/fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html |
@@ -26,8 +26,8 @@ |
function checkOffsets() |
{ |
- shouldBe("document.body.scrollTop", "window.expectedScrollTop"); |
- shouldBe("document.body.scrollLeft", "window.expectedScrollLeft"); |
+ shouldBe("document.scrollingElement.scrollTop", "window.expectedScrollTop"); |
+ shouldBe("document.scrollingElement.scrollLeft", "window.expectedScrollLeft"); |
if (window.testRunner) |
window.testRunner.notifyDone(); |