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

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

Issue 2296303002: Make a pen in eraser mode visible thru PointerEvent.buttons (Closed)
Patch Set: Incremental patch on crrev.com/2289273002 Created 4 years, 4 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/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 85755f551f60b8fc2cb7f9fa23bd443db175a9d7..100b4ec63c3bd8ec8bd2f2340b0c9e6ec51b8587 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
@@ -697,7 +697,7 @@ PASS lastPointerEvents[0].width is 1
PASS lastPointerEvents[0].height is 1
PASS lastPointerEvents[0].view.name is "mainWindow"
-===== pen tests =====
+===== pen tests (draw mode) =====
--- move pen into target ---
Received pointerover
Received pointerenter
@@ -951,6 +951,260 @@ PASS lastPointerEvents[0].width is 1
PASS lastPointerEvents[0].height is 1
PASS lastPointerEvents[0].view.name is "mainWindow"
+===== pen tests (erase mode) =====
+--- 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 3
+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 3
+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 3
+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 3
+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 3
+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 33
+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 3
+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 3
+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 3
+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

Powered by Google App Engine
This is Rietveld 408576698