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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt

Issue 2478313003: Fixed composed & detail fields in PointerEvents. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt b/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
index 45d0bf5ecfa69a2db7b60896211d355c6512f887..c93a42a81790c1b1c87ac1141033cd9c40e18418 100644
--- a/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
@@ -12,6 +12,8 @@ PASS lastPointerEvents.length is 2
PASS lastPointerEvents[0].type is "pointerover"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -42,6 +44,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerenter"
PASS lastPointerEvents[0].bubbles is false
PASS lastPointerEvents[0].cancelable is false
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -73,6 +77,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -106,6 +112,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -137,6 +145,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -163,13 +173,15 @@ PASS lastPointerEvents[0].width is 1
PASS lastPointerEvents[0].height is 1
PASS lastPointerEvents[0].view.name is "mainWindow"
---- click each button ---
+--- click left/right button ---
Received pointerdown
Received mousedown
PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerdown"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -201,6 +213,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerup"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -232,68 +246,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerdown"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
-PASS lastPointerEvents[0].pointerId is 1
-PASS lastPointerEvents[0].pointerType is "mouse"
-PASS lastPointerEvents[0].isPrimary is true
-PASS lastPointerEvents[0].clientX is 23
-PASS lastPointerEvents[0].clientY is 31
-PASS lastPointerEvents[0].layerX is 23
-PASS lastPointerEvents[0].layerY is 31
-PASS lastPointerEvents[0].movementX is 0
-PASS lastPointerEvents[0].movementY is 0
-PASS lastPointerEvents[0].offsetX is 5
-PASS lastPointerEvents[0].offsetY is 5
-PASS lastPointerEvents[0].pageX is 23
-PASS lastPointerEvents[0].pageY is 31
-PASS lastPointerEvents[0].screenX is 23
-PASS lastPointerEvents[0].screenY is 31
-PASS lastPointerEvents[0].x is 23
-PASS lastPointerEvents[0].y is 31
-PASS lastPointerEvents[0].button is 1
-PASS lastPointerEvents[0].buttons is 4
-PASS lastPointerEvents[0].pressure is 0.5
-PASS lastPointerEvents[0].tiltX is 0
-PASS lastPointerEvents[0].tiltY is 0
-PASS lastPointerEvents[0].width is 1
-PASS lastPointerEvents[0].height is 1
-PASS lastPointerEvents[0].view.name is "mainWindow"
-Received pointerup
-Received mouseup
-PASS lastPointerEvents.length is 1
-PASS lastPointerEvents[0].type is "pointerup"
-PASS lastPointerEvents[0].bubbles is true
-PASS lastPointerEvents[0].cancelable is true
-PASS lastPointerEvents[0].pointerId is 1
-PASS lastPointerEvents[0].pointerType is "mouse"
-PASS lastPointerEvents[0].isPrimary is true
-PASS lastPointerEvents[0].clientX is 23
-PASS lastPointerEvents[0].clientY is 31
-PASS lastPointerEvents[0].layerX is 23
-PASS lastPointerEvents[0].layerY is 31
-PASS lastPointerEvents[0].movementX is 0
-PASS lastPointerEvents[0].movementY is 0
-PASS lastPointerEvents[0].offsetX is 5
-PASS lastPointerEvents[0].offsetY is 5
-PASS lastPointerEvents[0].pageX is 23
-PASS lastPointerEvents[0].pageY is 31
-PASS lastPointerEvents[0].screenX is 23
-PASS lastPointerEvents[0].screenY is 31
-PASS lastPointerEvents[0].x is 23
-PASS lastPointerEvents[0].y is 31
-PASS lastPointerEvents[0].button is 1
-PASS lastPointerEvents[0].buttons is 0
-PASS lastPointerEvents[0].pressure is 0
-PASS lastPointerEvents[0].tiltX is 0
-PASS lastPointerEvents[0].tiltY is 0
-PASS lastPointerEvents[0].width is 1
-PASS lastPointerEvents[0].height is 1
-PASS lastPointerEvents[0].view.name is "mainWindow"
-Received pointerdown
-Received mousedown
-PASS lastPointerEvents.length is 1
-PASS lastPointerEvents[0].type is "pointerdown"
-PASS lastPointerEvents[0].bubbles is true
-PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -325,6 +279,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerup"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -641,6 +597,8 @@ PASS lastPointerEvents.length is 2
PASS lastPointerEvents[0].type is "pointerout"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -671,6 +629,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerleave"
PASS lastPointerEvents[0].bubbles is false
PASS lastPointerEvents[0].cancelable is false
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 1
PASS lastPointerEvents[0].pointerType is "mouse"
PASS lastPointerEvents[0].isPrimary is true
@@ -706,6 +666,8 @@ PASS lastPointerEvents.length is 2
PASS lastPointerEvents[0].type is "pointerover"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -736,6 +698,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerenter"
PASS lastPointerEvents[0].bubbles is false
PASS lastPointerEvents[0].cancelable is false
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -767,6 +731,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -800,6 +766,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -831,6 +799,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerdown"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -862,6 +832,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerup"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -895,6 +867,8 @@ PASS lastPointerEvents.length is 2
PASS lastPointerEvents[0].type is "pointerout"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -925,6 +899,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerleave"
PASS lastPointerEvents[0].bubbles is false
PASS lastPointerEvents[0].cancelable is false
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 2
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -960,6 +936,8 @@ PASS lastPointerEvents.length is 2
PASS lastPointerEvents[0].type is "pointerover"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -990,6 +968,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerenter"
PASS lastPointerEvents[0].bubbles is false
PASS lastPointerEvents[0].cancelable is false
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -1021,6 +1001,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -1054,6 +1036,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointermove"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -1085,6 +1069,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerdown"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -1116,6 +1102,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerup"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -1149,6 +1137,8 @@ PASS lastPointerEvents.length is 2
PASS lastPointerEvents[0].type is "pointerout"
PASS lastPointerEvents[0].bubbles is true
PASS lastPointerEvents[0].cancelable is true
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true
@@ -1179,6 +1169,8 @@ PASS lastPointerEvents.length is 1
PASS lastPointerEvents[0].type is "pointerleave"
PASS lastPointerEvents[0].bubbles is false
PASS lastPointerEvents[0].cancelable is false
+PASS lastPointerEvents[0].composed is true
+PASS lastPointerEvents[0].detail is 0
PASS lastPointerEvents[0].pointerId is 3
PASS lastPointerEvents[0].pointerType is "pen"
PASS lastPointerEvents[0].isPrimary is true

Powered by Google App Engine
This is Rietveld 408576698