| Index: LayoutTests/fast/events/autoscroll.html
|
| diff --git a/LayoutTests/fast/events/autoscroll.html b/LayoutTests/fast/events/autoscroll.html
|
| index 58a8a49f30cd6196c666b6d181d11e511b2de933..eccbb72d8fe6307914057aecc73f33d2c65963da 100644
|
| --- a/LayoutTests/fast/events/autoscroll.html
|
| +++ b/LayoutTests/fast/events/autoscroll.html
|
| @@ -13,7 +13,7 @@
|
| var ta = document.getElementById('ta');
|
| if (window.eventSender) {
|
| ta.scrollIntoView();
|
| - var h = ta.offsetTop - document.body.scrollTop + 10;
|
| + var h = ta.offsetTop - document.scrollingElement.scrollTop + 10;
|
| eventSender.dragMode = false;
|
| eventSender.mouseMoveTo(20, h);
|
| eventSender.mouseDown();
|
|
|