Chromium Code Reviews| Index: LayoutTests/fast/scrolling/hover-during-scroll.html |
| diff --git a/LayoutTests/fast/scrolling/hover-during-scroll.html b/LayoutTests/fast/scrolling/hover-during-scroll.html |
| index b55ae680f6127c63f00c143df5ed8aba67814e0b..ca4cc15f34daceec5939f266c79430d42cf4dc86 100644 |
| --- a/LayoutTests/fast/scrolling/hover-during-scroll.html |
| +++ b/LayoutTests/fast/scrolling/hover-during-scroll.html |
| @@ -38,7 +38,7 @@ function scrolledWhileCursorNotVisible() |
| shouldBeEqualToString("array[2].innerHTML", textWhenHovered); |
| shouldBeEqualToString("array[3].innerHTML", textWhenNotHovered); |
| shouldBeEqualToString("array[4].innerHTML", textWhenNotHovered); |
| - shouldBe("document.documentElement.scrollTop", "100"); |
| + shouldBe("document.documentElement.scrollTop", "0"); |
|
ajuma
2015/02/02 14:29:53
Does using the body element here work? (Also below
|
| testRunner.notifyDone(); |
| } |
| @@ -60,7 +60,7 @@ function scrolledWhileCursorVisible() |
| shouldBeEqualToString("array[3].innerHTML", textWhenNotHovered); |
| debug("Mouse is not visible, scrolling page so the mouse ends up on the fourth div."); |
| - shouldBe("document.documentElement.scrollTop", "50"); |
| + shouldBe("document.documentElement.scrollTop", "0"); |
| internals.setIsCursorVisible(document, false); |
| startTime = Date.now(); |
| eventSender.continuousMouseScrollBy(0, -elementHeight); |