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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/mouse-event-buttons-attribute-expected.txt
diff --git a/LayoutTests/fast/events/mouse-event-buttons-attribute-expected.txt b/LayoutTests/fast/events/mouse-event-buttons-attribute-expected.txt
index 38a297d5f0f1a9f6046fc792091cf8d031a9fa87..547359e6aad0a776826d2450b4fd8f4f5389c4a3 100644
--- a/LayoutTests/fast/events/mouse-event-buttons-attribute-expected.txt
+++ b/LayoutTests/fast/events/mouse-event-buttons-attribute-expected.txt
@@ -67,6 +67,24 @@ PASS testSet[i].buttons is 2
GestureEvent::contextmenu with |showContextMenuOnMouseUp=true| longTapAction([rightButton]) -> shouldBe([])
PASS testSet[i].buttons is 0
+DragEvent::dragstart dragDropAction([leftButton,rightButton]) -> shouldBe([leftButton,rightButton])
+PASS testSet[i].buttons is 3
+
+DragEvent::drag dragDropAction([leftButton,middleButton,rightButton]) -> shouldBe([leftButton,middleButton,rightButton])
+PASS testSet[i].buttons is 7
+
+DragEvent::dragend dragDropAction([leftButton,rightButton]) -> shouldBe([])
+PASS testSet[i].buttons is 0
+
+DragEvent::dragenter dragDropAction([leftButton,middleButton]) -> shouldBe([leftButton,middleButton])
+PASS testSet[i].buttons is 5
+
+DragEvent::dragleave dragDropAction([leftButton,rightButton]) -> shouldBe([leftButton,rightButton])
+PASS testSet[i].buttons is 3
+
+DragEvent::dragover dragDropAction([leftButton,middleButton]) -> shouldBe([leftButton,middleButton])
+PASS testSet[i].buttons is 5
+
PASS successfullyParsed is true
TEST COMPLETE
« 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