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

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

Issue 1617863002: Set the correct pressure for pointer events based on force (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Win/OSX compile error Created 4 years, 11 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
Index: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
index 324a65b4f98d2df5c5d2821da8348cf94a58c22d..8a73716d68e4c26f73dd44cd26eb355b0c145a3d 100644
--- a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
@@ -5,6 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
--- move mouse into target ---
Received pointerover
+PASS event.pressure is 0
Received mouseover
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerover"
@@ -29,6 +30,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is -1
PASS lastPointerEvent.buttons is 0
Received pointerenter
+PASS event.pressure is 0
Received mouseenter
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerenter"
@@ -53,6 +55,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is -1
PASS lastPointerEvent.buttons is 0
Received pointermove
+PASS event.pressure is 0
Received mousemove
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointermove"
@@ -79,6 +82,7 @@ PASS lastPointerEvent.buttons is 0
--- move within target ---
Received pointermove
+PASS event.pressure is 0
Received mousemove
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointermove"
@@ -103,6 +107,7 @@ PASS lastPointerEvent.y is 41
PASS lastPointerEvent.button is -1
PASS lastPointerEvent.buttons is 0
Received pointermove
+PASS event.pressure is 0
Received mousemove
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointermove"
@@ -129,6 +134,7 @@ PASS lastPointerEvent.buttons is 0
--- click each button ---
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -153,6 +159,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is 0
PASS lastPointerEvent.buttons is 1
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -177,6 +184,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is 0
PASS lastPointerEvent.buttons is 0
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -201,6 +209,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is 1
PASS lastPointerEvent.buttons is 4
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -225,6 +234,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is 1
PASS lastPointerEvent.buttons is 0
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -249,6 +259,7 @@ PASS lastPointerEvent.y is 31
PASS lastPointerEvent.button is 2
PASS lastPointerEvent.buttons is 2
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -275,6 +286,7 @@ PASS lastPointerEvent.buttons is 0
--- click with each modifier ---
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -290,6 +302,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -305,6 +318,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -320,6 +334,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -335,6 +350,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -350,6 +366,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -365,6 +382,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -380,6 +398,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -395,6 +414,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -410,6 +430,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -425,6 +446,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -440,6 +462,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -455,6 +478,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -470,6 +494,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -485,6 +510,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -500,6 +526,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -515,6 +542,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -530,6 +558,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is true
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -545,6 +574,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is true
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -560,6 +590,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is true
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -575,6 +606,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is true
PASS lastPointerEvent.getModifierState('Symbol'); is false
Received pointerdown
+PASS event.pressure is 0.5
Received mousedown
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerdown"
@@ -590,6 +622,7 @@ PASS lastPointerEvent.getModifierState('ScrollLock'); is false
PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is true
Received pointerup
+PASS event.pressure is 0
Received mouseup
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerup"
@@ -607,6 +640,7 @@ PASS lastPointerEvent.getModifierState('Symbol'); is true
--- move mouse out of target ---
Received pointerout
+PASS event.pressure is 0
Received mouseout
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerout"
@@ -631,6 +665,7 @@ PASS lastPointerEvent.y is 21
PASS lastPointerEvent.button is -1
PASS lastPointerEvent.buttons is 0
Received pointerleave
+PASS event.pressure is 0
Received mouseleave
PASS lastPointerEvent is non-null.
PASS lastPointerEvent.type is "pointerleave"

Powered by Google App Engine
This is Rietveld 408576698