servo/components/webdriver_server
Euclid Ye 2e3c280f46
webdriver: improve perform pointermove & wheel actions with more accurate coordinates (#38095)
1. Create `get_origin_relative_coordinates` according to
[spec](https://w3c.github.io/webdriver/#dfn-get-coordinates-relative-to-an-origin)
to be reused
2. Add previously missing offset for PointerOrigin::Element
3. Refactor code for perform pointermove/wheel to be closer to spec.
4. Handle some issues with spec:
https://github.com/w3c/webdriver/issues/1758

Testing: Several new passing cases as we are more precise with
coordinates now.
Fixes: Part of #38042.

---------

Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
2025-07-16 02:03:34 +00:00
..
actions.rs webdriver: improve perform pointermove & wheel actions with more accurate coordinates (#38095) 2025-07-16 02:03:34 +00:00
capabilities.rs Establish baseline webdriver conformance results (#35024) 2025-05-01 21:13:27 +00:00
Cargo.toml Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
lib.rs Webdriver GoBack and GoForward commands wait for navigation complete (#37950) 2025-07-15 10:41:50 +00:00
user_prompt.rs webdriver: Implement support for simple dialogs (#37913) 2025-07-10 03:15:46 +00:00