Chromium Code Reviews| Index: LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html |
| diff --git a/LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html b/LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html |
| index 709b07b63ff15e42668aeb5137393aa5ba31545f..4d33acc9994c1a14c9959901afebb009c3e46307 100644 |
| --- a/LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html |
| +++ b/LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html |
| @@ -4,8 +4,6 @@ |
| <script> |
| var givenScrollTop = 2; // Only one page per event, so this should be interpreted as 1 |
| var givenScrollLeft = 2; |
| - var expectedScrollTop = 511; // Window is 800x600. 15 pixel scrollbars. Scroll 87.5% of visible. |
| - var expectedScrollLeft = 686; |
| var event; |
| var div; |
| @@ -27,8 +25,8 @@ |
| function checkOffsets() |
| { |
| - shouldBe("document.scrollingElement.scrollTop", "window.expectedScrollTop"); |
| - shouldBe("document.scrollingElement.scrollLeft", "window.expectedScrollLeft"); |
| + debug("document.scrollingElement.scrollTop = " + document.scrollingElement.scrollTop); |
| + debug("document.scrollingElement.scrollLeft = " + document.scrollingElement.scrollLeft); |
|
bokan
2015/08/19 12:42:47
The expectation is platform dependent so we don't
Rick Byers
2015/08/19 17:33:30
Why did your CL change that though? Are you inten
bokan
2015/08/19 18:45:46
No, there's no change in the dependency on platfor
Rick Byers
2015/08/19 19:42:09
Sorry, I wrote this before seeing the test changes
|
| finishJSTest(); |
| } |