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

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

Issue 768443002: Honor the wheel event canScroll bit instead of trying to infer it from the ctrl modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 TOP 1 TOP
2 2
3 3
4 4
5 Scroll mouse wheel over here 5 Scroll mouse wheel over here
6 6
7 7
8 8
9 END 9 END
10 And scroll the document here 10 And scroll the document here
11 Tests that wheel events with the ctrl modifier are handled properly 11 Tests that wheel events with the ctrl modifier are handled properly
12 12
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
14 14
15 15
16 Test mousewheel events over scrollable div 16 Test mousewheel events over scrollable div
17 With ctrl modifier set 17 With ctrl modifier set and suppressScroll set to be true
18 PASS wheelEventCount is 1 18 PASS wheelEventCount is 1
19 PASS deltaY is 80 19 PASS deltaY is 80
20 PASS ctrlKey is true 20 PASS ctrlKey is true
21 PASS testDiv.scrollTop is 0 21 PASS testDiv.scrollTop is 0
22 Without ctrl 22 Without ctrl and suppressScroll set to be default false
23 PASS wheelEventCount is 1 23 PASS wheelEventCount is 1
24 PASS deltaY is 80 24 PASS deltaY is 80
25 PASS ctrlKey is false 25 PASS ctrlKey is false
26 PASS testDiv.scrollTop is deltaY 26 PASS testDiv.scrollTop is deltaY
27 27
28 Test mousewheel events over the document 28 Test mousewheel events over the document
29 With ctrl modifier set 29 With ctrl modifier set and suppressScroll set to be true
30 PASS wheelEventCount is 1 30 PASS wheelEventCount is 1
31 PASS deltaY is 80 31 PASS deltaY is 80
32 PASS ctrlKey is true 32 PASS ctrlKey is true
33 PASS document.body.scrollTop is 0 33 PASS window.scrollY is 0
34 Now without ctrl 34 Now without ctrl and suppressScroll set to be default false
35 PASS wheelEventCount is 1 35 PASS wheelEventCount is 1
36 PASS deltaY is 80 36 PASS deltaY is 80
37 PASS ctrlKey is false 37 PASS ctrlKey is false
38 PASS window.scrollY is deltaY 38 PASS window.scrollY is deltaY
39 PASS successfullyParsed is true 39 PASS successfullyParsed is true
40 40
41 TEST COMPLETE 41 TEST COMPLETE
42 42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698