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

Side by Side Diff: LayoutTests/fast/events/dispatch-mouse-events-to-window-always-expected.txt

Issue 1210253003: Fix wheel event dispatch logic to fallback to document when hit-test fails (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 Test that wheel and mouse events are dispatched to document and window even if t hey do not hit any element in the page.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 eventType: wheel
7 PASS dispatchCount[window][eventType] is 4
8 PASS dispatchCount[document][eventType] is 4
9 FAIL dispatchCount[document.body][eventType] should be 2. Was 0.
Rick Byers 2015/06/26 12:34:48 You've got FAILs here
majidvp 2015/06/29 16:58:40 Acknowledged.
majidvp 2015/06/30 15:33:03 Done.
10 FAIL dispatchCount[document.getElementById("child")][eventType] should be 1. Was 0.
11 eventType: click
12 PASS dispatchCount[window][eventType] is 4
13 PASS dispatchCount[document][eventType] is 4
14 FAIL dispatchCount[document.body][eventType] should be 2. Was 0.
15 FAIL dispatchCount[document.getElementById("child")][eventType] should be 1. Was 0.
16 eventType: mousedown
17 PASS dispatchCount[window][eventType] is 4
18 PASS dispatchCount[document][eventType] is 4
19 FAIL dispatchCount[document.body][eventType] should be 2. Was 0.
20 FAIL dispatchCount[document.getElementById("child")][eventType] should be 1. Was 0.
21 eventType: mouseup
22 PASS dispatchCount[window][eventType] is 4
23 PASS dispatchCount[document][eventType] is 4
24 FAIL dispatchCount[document.body][eventType] should be 2. Was 0.
25 FAIL dispatchCount[document.getElementById("child")][eventType] should be 1. Was 0.
26 PASS successfullyParsed is true
27
28 TEST COMPLETE
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698