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 3a62de148dd3afb1561196ccf3ee026a97f39c40..85755f551f60b8fc2cb7f9fa23bd443db175a9d7 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 |
@@ -1,8 +1,9 @@ |
-Verifies that pointer event parameters are correct when fired for mouse events. |
+Verifies that pointer event parameters are correct when fired through mouse events. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+===== mouse tests ===== |
--- move mouse into target --- |
Received pointerover |
Received pointerenter |
@@ -31,6 +32,8 @@ 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" |
@@ -59,6 +62,8 @@ 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" |
@@ -88,6 +93,8 @@ 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" |
@@ -119,6 +126,8 @@ PASS lastPointerEvents[0].y is 41 |
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" |
@@ -148,6 +157,8 @@ 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" |
@@ -179,6 +190,8 @@ PASS lastPointerEvents[0].y is 31 |
PASS lastPointerEvents[0].button is 0 |
PASS lastPointerEvents[0].buttons is 1 |
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" |
@@ -208,6 +221,8 @@ PASS lastPointerEvents[0].y is 31 |
PASS lastPointerEvents[0].button is 0 |
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" |
@@ -237,6 +252,8 @@ 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" |
@@ -266,6 +283,8 @@ 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" |
@@ -295,6 +314,8 @@ PASS lastPointerEvents[0].y is 31 |
PASS lastPointerEvents[0].button is 2 |
PASS lastPointerEvents[0].buttons is 2 |
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" |
@@ -324,6 +345,8 @@ PASS lastPointerEvents[0].y is 31 |
PASS lastPointerEvents[0].button is 2 |
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" |
@@ -638,6 +661,8 @@ PASS lastPointerEvents[0].y is 21 |
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" |
@@ -666,9 +691,266 @@ PASS lastPointerEvents[0].y is 21 |
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" |
+ |
+===== pen tests ===== |
+--- move pen into target --- |
+Received pointerover |
+Received pointerenter |
+Received mouseover |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+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 mouseenter |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+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 pointermove |
+Received mousemove |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+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" |
+ |
+--- move within target & tap --- |
+Received pointermove |
+Received mousemove |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+PASS lastPointerEvents[0].isPrimary is true |
+PASS lastPointerEvents[0].clientX is 33 |
+PASS lastPointerEvents[0].clientY is 41 |
+PASS lastPointerEvents[0].layerX is 33 |
+PASS lastPointerEvents[0].layerY is 41 |
+PASS lastPointerEvents[0].movementX is 0 |
+PASS lastPointerEvents[0].movementY is 0 |
+PASS lastPointerEvents[0].offsetX is 15 |
+PASS lastPointerEvents[0].offsetY is 15 |
+PASS lastPointerEvents[0].pageX is 33 |
+PASS lastPointerEvents[0].pageY is 41 |
+PASS lastPointerEvents[0].screenX is 33 |
+PASS lastPointerEvents[0].screenY is 41 |
+PASS lastPointerEvents[0].x is 33 |
+PASS lastPointerEvents[0].y is 41 |
+PASS lastPointerEvents[0].button is -1 |
+PASS lastPointerEvents[0].buttons is 0 |
+PASS lastPointerEvents[0].pressure is 0 |
+PASS lastPointerEvents[0].tiltX is 45 |
+PASS lastPointerEvents[0].tiltY is -34 |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+PASS lastPointerEvents[0].isPrimary is true |
+PASS lastPointerEvents[0].clientX is 33 |
+PASS lastPointerEvents[0].clientY is 41 |
+PASS lastPointerEvents[0].layerX is 33 |
+PASS lastPointerEvents[0].layerY is 41 |
+PASS lastPointerEvents[0].movementX is 0 |
+PASS lastPointerEvents[0].movementY is 0 |
+PASS lastPointerEvents[0].offsetX is 15 |
+PASS lastPointerEvents[0].offsetY is 15 |
+PASS lastPointerEvents[0].pageX is 33 |
+PASS lastPointerEvents[0].pageY is 41 |
+PASS lastPointerEvents[0].screenX is 33 |
+PASS lastPointerEvents[0].screenY is 41 |
+PASS lastPointerEvents[0].x is 33 |
+PASS lastPointerEvents[0].y is 41 |
+PASS lastPointerEvents[0].button is 0 |
+PASS lastPointerEvents[0].buttons is 1 |
+PASS lastPointerEvents[0].pressure is 0.75 |
+PASS lastPointerEvents[0].tiltX is 45 |
+PASS lastPointerEvents[0].tiltY is -34 |
+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 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+PASS lastPointerEvents[0].isPrimary is true |
+PASS lastPointerEvents[0].clientX is 33 |
+PASS lastPointerEvents[0].clientY is 41 |
+PASS lastPointerEvents[0].layerX is 33 |
+PASS lastPointerEvents[0].layerY is 41 |
+PASS lastPointerEvents[0].movementX is 0 |
+PASS lastPointerEvents[0].movementY is 0 |
+PASS lastPointerEvents[0].offsetX is 15 |
+PASS lastPointerEvents[0].offsetY is 15 |
+PASS lastPointerEvents[0].pageX is 33 |
+PASS lastPointerEvents[0].pageY is 41 |
+PASS lastPointerEvents[0].screenX is 33 |
+PASS lastPointerEvents[0].screenY is 41 |
+PASS lastPointerEvents[0].x is 33 |
+PASS lastPointerEvents[0].y is 41 |
+PASS lastPointerEvents[0].button is 0 |
+PASS lastPointerEvents[0].buttons is 0 |
+PASS lastPointerEvents[0].pressure is 0 |
+PASS lastPointerEvents[0].tiltX is 45 |
+PASS lastPointerEvents[0].tiltY is -34 |
+PASS lastPointerEvents[0].width is 1 |
+PASS lastPointerEvents[0].height is 1 |
+PASS lastPointerEvents[0].view.name is "mainWindow" |
+--- move pen out of target --- |
+Received pointerout |
+Received pointerleave |
+Received mouseout |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+PASS lastPointerEvents[0].isPrimary is true |
+PASS lastPointerEvents[0].clientX is 13 |
+PASS lastPointerEvents[0].clientY is 21 |
+PASS lastPointerEvents[0].layerX is 13 |
+PASS lastPointerEvents[0].layerY is 21 |
+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 13 |
+PASS lastPointerEvents[0].pageY is 21 |
+PASS lastPointerEvents[0].screenX is 13 |
+PASS lastPointerEvents[0].screenY is 21 |
+PASS lastPointerEvents[0].x is 13 |
+PASS lastPointerEvents[0].y is 21 |
+PASS lastPointerEvents[0].button is -1 |
+PASS lastPointerEvents[0].buttons is 0 |
+PASS lastPointerEvents[0].pressure is 0 |
+PASS lastPointerEvents[0].tiltX is 45 |
+PASS lastPointerEvents[0].tiltY is -34 |
+PASS lastPointerEvents[0].width is 1 |
+PASS lastPointerEvents[0].height is 1 |
+PASS lastPointerEvents[0].view.name is "mainWindow" |
+Received mouseleave |
+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].pointerId is 2 |
+PASS lastPointerEvents[0].pointerType is "pen" |
+PASS lastPointerEvents[0].isPrimary is true |
+PASS lastPointerEvents[0].clientX is 13 |
+PASS lastPointerEvents[0].clientY is 21 |
+PASS lastPointerEvents[0].layerX is 13 |
+PASS lastPointerEvents[0].layerY is 21 |
+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 13 |
+PASS lastPointerEvents[0].pageY is 21 |
+PASS lastPointerEvents[0].screenX is 13 |
+PASS lastPointerEvents[0].screenY is 21 |
+PASS lastPointerEvents[0].x is 13 |
+PASS lastPointerEvents[0].y is 21 |
+PASS lastPointerEvents[0].button is -1 |
+PASS lastPointerEvents[0].buttons is 0 |
+PASS lastPointerEvents[0].pressure is 0 |
+PASS lastPointerEvents[0].tiltX is 45 |
+PASS lastPointerEvents[0].tiltY is -34 |
+PASS lastPointerEvents[0].width is 1 |
+PASS lastPointerEvents[0].height is 1 |
+PASS lastPointerEvents[0].view.name is "mainWindow" |
+ |
PASS successfullyParsed is true |
TEST COMPLETE |