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

Unified Diff: LayoutTests/fast/events/wheelevent-ctrl-expected.txt

Issue 183403002: Disable scrolling on mousewheel events with ctrl modifier set (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | « LayoutTests/fast/events/wheelevent-ctrl.html ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/wheelevent-ctrl-expected.txt
diff --git a/LayoutTests/fast/events/wheelevent-ctrl-expected.txt b/LayoutTests/fast/events/wheelevent-ctrl-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..482118d44fb7d767942d2e2a7a7cc71251f3e320
--- /dev/null
+++ b/LayoutTests/fast/events/wheelevent-ctrl-expected.txt
@@ -0,0 +1,26 @@
+TOP
+
+
+
+Scroll mouse wheel over here
+
+
+
+END
+Tests that wheel events with the ctrl modifier are handled properly
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS wheelEventCount is 1
+PASS deltaY is 80
+PASS ctrlKey is true
+PASS testDiv.scrollTop is 0
+PASS wheelEventCount is 2
+PASS deltaY is 80
+PASS ctrlKey is false
+PASS testDiv.scrollTop is deltaY
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/wheelevent-ctrl.html ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698