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

Unified Diff: LayoutTests/fast/events/wheelevent-basic.html

Issue 22888005: WheelEvent's deltaX/deltaY sign is wrong (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix comment Created 7 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
« no previous file with comments | « no previous file | Source/core/dom/WheelEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/wheelevent-basic.html
diff --git a/LayoutTests/fast/events/wheelevent-basic.html b/LayoutTests/fast/events/wheelevent-basic.html
index 96ea38d276f4d9944594d539456975fe9a8f5c1d..d9059776c21464bc94d002975e3cc570cecfd022 100644
--- a/LayoutTests/fast/events/wheelevent-basic.html
+++ b/LayoutTests/fast/events/wheelevent-basic.html
@@ -32,8 +32,8 @@ function runTest() {
var testEvent;
var tickMultiplier = 120;
-var expectedDeltaX = deltaX * tickMultiplier;
-var expectedDeltaY = deltaY * tickMultiplier;
+var expectedDeltaX = -deltaX * tickMultiplier;
+var expectedDeltaY = -deltaY * tickMultiplier;
function wheelHandler(e) {
testEvent = e;
shouldBe("testEvent.__proto__", "WheelEvent.prototype");
« no previous file with comments | « no previous file | Source/core/dom/WheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698