mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
- Remove incorrect addition to `input_cancel_list` in `dispatch_keyup_action` - For `KeyDown` and `PointerDown`, delay the addition to `input_cancel_list` until "Dispatching action algorithm" is done to match the spec. Previously the addition is done before notifying constellation. Moreover, this makes sure that `pointerUp` is appended even if `dispatch_pointerdown_action` returns early, so that [Release Actions](https://w3c.github.io/webdriver/#release-actions) always have the correct order. - Remove incorrect addition to `input_cancel_list` in `dispatch_pointerup_action`. This wrongly added "pointerdown" in [Release Actions](https://w3c.github.io/webdriver/#release-actions) - Reduce code duplication - Add TODO for PointerInputState::subtype and pointerID Testing: `./mach test-wpt -r --log-raw "D:\servo test log\perform-actions.txt" tests\wpt\tests\webdriver\tests\classic\perform_actions --product servodriver` has no new failures so no regression. There are a lot more passing tests, but I think mostly are because there is no CI for webdriver. cc @xiaochengh @jdm @PotatoCP @longvatrong111 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> |
||
---|---|---|
.. | ||
actions.rs | ||
capabilities.rs | ||
Cargo.toml | ||
lib.rs |