webdriver: Implement pointerCancel for touch chain#41937
webdriver: Implement pointerCancel for touch chain#41937yezhizhen merged 6 commits intoservo:mainfrom
Conversation
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#57196) with upstreamable changes. |
c2b59e7 to
3febd21
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
81aaf96 to
3c5d101
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
3c5d101 to
23ca020
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
23ca020 to
9e70cb4
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
tests/wpt/tests/webdriver/tests/classic/perform_actions/pointer_touch.py
Outdated
Show resolved
Hide resolved
9e70cb4 to
2895485
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
2895485 to
959ecb4
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57196) title and body. |
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
tests/wpt/tests/webdriver/tests/classic/perform_actions/pointer_touch.py
Show resolved
Hide resolved
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
959ecb4 to
0af40bd
Compare
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
1 similar comment
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#57196). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#57196) title and body. |
…chend`/`touchcancel` (servo#42654) [Spec](https://w3c.github.io/touch-events/#dfn-touchend:~:text=screen%2E-,The,element,-%2E) for touchmove/touchend/touchcancel: > The target of this event must be the same Element on which the [touch point](https://w3c.github.io/touch-events/#dfn-touch-point) started when it was first placed on the surface, even if the [touch point](https://w3c.github.io/touch-events/#dfn-touch-point) has since moved outside the interactive area of the target element. Also, previously `touchend` can be fired after `touchcancel`, which was wrong and fixed in this PR. Testing: Fully passes `/touch-events/multi-touch-interfaces.html` (511 subtests) and new passes in `pointerevents\compat\pointerevent_touch_target_after_pointerdown_target_removed.tentative.html`. We also take the chance to update `pointercancel` related tests introduced in servo#41937: `touchcancel` should not be followed by `touchend` according to [spec](https://w3c.github.io/touch-events/#dfn-touchcancel). --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Testing: Adding a new function
pointer_cancelin test infrastructure and two touch chain subtests for pointerCancel.