Index: LayoutTests/fast/events/mouse-cursor-multiframecur.html |
diff --git a/LayoutTests/fast/events/mouse-cursor-multiframecur.html b/LayoutTests/fast/events/mouse-cursor-multiframecur.html |
index f15242ed2940a87494756f56bd7c1f8feb6b74db..1be3db2d0495b261ea2c85adfecd7fe284c45d13 100644 |
--- a/LayoutTests/fast/events/mouse-cursor-multiframecur.html |
+++ b/LayoutTests/fast/events/mouse-cursor-multiframecur.html |
@@ -28,8 +28,8 @@ function runTests() { |
debug('TEST CASE: ' + node.textContent); |
// Make sure the node is visible and move the mouse over top of it. |
- document.body.scrollTop = node.offsetTop - 50; |
- eventSender.mouseMoveTo(node.offsetLeft + 3, node.offsetTop - document.body.scrollTop + 3); |
+ document.documentElement.scrollTop = node.offsetTop - 50; |
+ eventSender.mouseMoveTo(node.offsetLeft + 3, node.offsetTop - document.documentElement.scrollTop + 3); |
// Get details of the current mouse cursor. |
// Note that we could return structured data which we then validate, but that's a lot more |