Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: LayoutTests/fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html

Issue 1298973004: Remove special wheel handling path from ScrollableArea (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added TODO for OSX #ifdef Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
finishJSTest();
}

Powered by Google App Engine
This is Rietveld 408576698