Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / mouse-event-buttons-attribute-expected.txt
blob547359e6aad0a776826d2450b4fd8f4f5389c4a3
1 MouseEvent::dblclick doubleClickAction([leftButton]) -> shouldBe([])
2 PASS testSet[i].buttons is 0
4 MouseEvent::click clickAction([leftButton,rightButton]) -> shouldBe([rightButton])
5 PASS testSet[i].buttons is 2
7 MouseEvent::mousedown clickAction([leftButton,middleButton,rightButton]) -> shouldBe([leftButton,middleButton,rightButton])
8 PASS testSet[i].buttons is 7
10 MouseEvent::mouseup clickAction([leftButton,middleButton,rightButton]) -> shouldBe([middleButton,rightButton])
11 PASS testSet[i].buttons is 6
13 MouseEvent::mousemove moveAction([]) -> shouldBe([])
14 PASS testSet[i].buttons is 0
16 MouseEvent::mousemove moveAction([leftButton]) -> shouldBe([leftButton])
17 PASS testSet[i].buttons is 1
19 MouseEvent::mouseenter moveAction([rightButton,middleButton]) -> shouldBe([rightButton,middleButton])
20 PASS testSet[i].buttons is 6
22 MouseEvent::mouseleave moveAction([leftButton,rightButton]) -> shouldBe([leftButton,rightButton])
23 PASS testSet[i].buttons is 3
25 MouseEvent::mouseover moveAction([leftButton,middleButton]) -> shouldBe([leftButton,middleButton])
26 PASS testSet[i].buttons is 5
28 MouseEvent::mouseout moveAction([leftButton]) -> shouldBe([leftButton])
29 PASS testSet[i].buttons is 1
31 MouseEvent::contextmenu with |showContextMenuOnMouseUp=false| rightClickAction([rightButton]) -> shouldBe([rightButton])
32 PASS testSet[i].buttons is 2
34 MouseEvent::contextmenu with |showContextMenuOnMouseUp=true| rightClickAction([rightButton]) -> shouldBe([])
35 PASS testSet[i].buttons is 0
37 WheelEvent::mousewheel wheelAction([leftButton,rightButton]) -> shouldBe([leftButton,rightButton])
38 PASS testSet[i].buttons is 3
40 GestureEvent::dblclick doubleTapAction([leftButton]) -> shouldBe([])
41 PASS testSet[i].buttons is 0
43 GestureEvent::click tapAction([leftButton]) -> shouldBe([])
44 PASS testSet[i].buttons is 0
46 GestureEvent::mousedown tapAction([leftButton]) -> shouldBe([leftButton])
47 PASS testSet[i].buttons is 1
49 GestureEvent::mouseup tapAction([leftButton]) -> shouldBe([])
50 PASS testSet[i].buttons is 0
52 GestureEvent::mousemove tapAction([]) -> shouldBe([])
53 PASS testSet[i].buttons is 0
55 GestureEvent::mousedown longPressAction([rightButton]) -> shouldBe([rightButton])
56 PASS testSet[i].buttons is 2
58 GestureEvent::contextmenu with |showContextMenuOnMouseUp=false| longPressAction([rightButton]) -> shouldBe([rightButton])
59 PASS testSet[i].buttons is 2
61 GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longPressAction([rightButton]) -> shouldBe([])
62 PASS testSet[i].buttons is 0
64 GestureEvent::contextmenu with |showContextMenuOnMouseUp=false| longTapAction([rightButton]) -> shouldBe([rightButton])
65 PASS testSet[i].buttons is 2
67 GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longTapAction([rightButton]) -> shouldBe([])
68 PASS testSet[i].buttons is 0
70 DragEvent::dragstart dragDropAction([leftButton,rightButton]) -> shouldBe([leftButton,rightButton])
71 PASS testSet[i].buttons is 3
73 DragEvent::drag dragDropAction([leftButton,middleButton,rightButton]) -> shouldBe([leftButton,middleButton,rightButton])
74 PASS testSet[i].buttons is 7
76 DragEvent::dragend dragDropAction([leftButton,rightButton]) -> shouldBe([])
77 PASS testSet[i].buttons is 0
79 DragEvent::dragenter dragDropAction([leftButton,middleButton]) -> shouldBe([leftButton,middleButton])
80 PASS testSet[i].buttons is 5
82 DragEvent::dragleave dragDropAction([leftButton,rightButton]) -> shouldBe([leftButton,rightButton])
83 PASS testSet[i].buttons is 3
85 DragEvent::dragover dragDropAction([leftButton,middleButton]) -> shouldBe([leftButton,middleButton])
86 PASS testSet[i].buttons is 5
88 PASS successfullyParsed is true
90 TEST COMPLETE