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

Side by Side Diff: LayoutTests/fast/events/mouse-event-buttons-attribute-expected.txt

Issue 879333002: Support buttons attribute for drag event (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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
1 MouseEvent::dblclick doubleClickAction([leftButton]) -> shouldBe([]) 1 MouseEvent::dblclick doubleClickAction([leftButton]) -> shouldBe([])
2 PASS testSet[i].buttons is 0 2 PASS testSet[i].buttons is 0
3 3
4 MouseEvent::click clickAction([leftButton,rightButton]) -> shouldBe([rightButton ]) 4 MouseEvent::click clickAction([leftButton,rightButton]) -> shouldBe([rightButton ])
5 PASS testSet[i].buttons is 2 5 PASS testSet[i].buttons is 2
6 6
7 MouseEvent::mousedown clickAction([leftButton,middleButton,rightButton]) -> shou ldBe([leftButton,middleButton,rightButton]) 7 MouseEvent::mousedown clickAction([leftButton,middleButton,rightButton]) -> shou ldBe([leftButton,middleButton,rightButton])
8 PASS testSet[i].buttons is 7 8 PASS testSet[i].buttons is 7
9 9
10 MouseEvent::mouseup clickAction([leftButton,middleButton,rightButton]) -> should Be([middleButton,rightButton]) 10 MouseEvent::mouseup clickAction([leftButton,middleButton,rightButton]) -> should Be([middleButton,rightButton])
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longPressAction([ rightButton]) -> shouldBe([]) 61 GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longPressAction([ rightButton]) -> shouldBe([])
62 PASS testSet[i].buttons is 0 62 PASS testSet[i].buttons is 0
63 63
64 GestureEvent::contextmenu with |showContextMenuOnMouseUp=false| longTapAction([r ightButton]) -> shouldBe([rightButton]) 64 GestureEvent::contextmenu with |showContextMenuOnMouseUp=false| longTapAction([r ightButton]) -> shouldBe([rightButton])
65 PASS testSet[i].buttons is 2 65 PASS testSet[i].buttons is 2
66 66
67 GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longTapAction([ri ghtButton]) -> shouldBe([]) 67 GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longTapAction([ri ghtButton]) -> shouldBe([])
68 PASS testSet[i].buttons is 0 68 PASS testSet[i].buttons is 0
69 69
70 DragEvent::dragstart dragDropAction([leftButton,rightButton]) -> shouldBe([leftB utton,rightButton])
71 PASS testSet[i].buttons is 3
72
73 DragEvent::drag dragDropAction([leftButton,middleButton,rightButton]) -> shouldB e([leftButton,middleButton,rightButton])
74 PASS testSet[i].buttons is 7
75
76 DragEvent::dragend dragDropAction([leftButton,rightButton]) -> shouldBe([])
77 PASS testSet[i].buttons is 0
78
79 DragEvent::dragenter dragDropAction([leftButton,middleButton]) -> shouldBe([left Button,middleButton])
80 PASS testSet[i].buttons is 5
81
82 DragEvent::dragleave dragDropAction([leftButton,rightButton]) -> shouldBe([leftB utton,rightButton])
83 PASS testSet[i].buttons is 3
84
85 DragEvent::dragover dragDropAction([leftButton,middleButton]) -> shouldBe([leftB utton,middleButton])
86 PASS testSet[i].buttons is 5
87
70 PASS successfullyParsed is true 88 PASS successfullyParsed is true
71 89
72 TEST COMPLETE 90 TEST COMPLETE
73 91
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/mouse-event-buttons-attribute.html ('k') | Source/core/clipboard/DataObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698