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

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: Address nits Created 5 years, 5 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 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
3 outside body, inside element
4 eventType: mousedown
5 PASS objectsToString(actualReceivers) is "HTMLDivElement,HTMLBodyElement,HTMLDoc ument,Window"
6 eventType: mouseup
7 PASS objectsToString(actualReceivers) is "HTMLDivElement,HTMLBodyElement,HTMLDoc ument,Window"
8 eventType: click
9 PASS objectsToString(actualReceivers) is "HTMLDivElement,HTMLBodyElement,HTMLDoc ument,Window"
10 eventType: wheel
11 PASS objectsToString(actualReceivers) is "HTMLDivElement,HTMLBodyElement,HTMLDoc ument,Window"
12 inside body, outside element
13 eventType: mousedown
14 PASS objectsToString(actualReceivers) is "HTMLBodyElement,HTMLDocument,Window"
15 eventType: mouseup
16 PASS objectsToString(actualReceivers) is "HTMLBodyElement,HTMLDocument,Window"
17 eventType: click
18 PASS objectsToString(actualReceivers) is "HTMLBodyElement,HTMLDocument,Window"
19 eventType: wheel
20 PASS objectsToString(actualReceivers) is "HTMLBodyElement,HTMLDocument,Window"
21 outside body, outside element, inside frame
22 eventType: mousedown
23 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
24 eventType: mouseup
25 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
26 eventType: click
27 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
28 eventType: wheel
29 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
30 outside body, outside element, outside frame
31 eventType: mousedown
32 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
33 eventType: mouseup
34 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
35 eventType: click
36 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
37 eventType: wheel
38 PASS objectsToString(actualReceivers) is "HTMLDocument,Window"
39 PASS successfullyParsed is true
40
41 TEST COMPLETE
42
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/dispatch-mouse-events-to-window-always.html ('k') | Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698