Index: LayoutTests/fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html |
diff --git a/LayoutTests/fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html b/LayoutTests/fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html |
index df760e4a7263e8e72d5bc889e9f4c1a3fcc4bc1a..792ab1821c16fe77b31a8f6c45b08823b49326b7 100644 |
--- a/LayoutTests/fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html |
+++ b/LayoutTests/fast/events/platform-wheelevent-paging-x-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(); |