servo/components/webdriver_server
Euclid Ye 8877adccf2
script: Improve webdriver_handler::get_element_in_view_center_point (#38058)
1. Some rounding was wrongly used which can be a source of inaccuracy. 
2. Use `window.InnerWidth` instead of `body.ClientWidth` according to
spec.

Testing: Many new passing cases.
Fixes: Part of #38042.

---------

Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
2025-07-15 00:14:17 +00:00
..
actions.rs Webdriver: limit tick action duration to ECMA maximum safe integer (#37977) 2025-07-11 03:23:49 +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 script: Improve webdriver_handler::get_element_in_view_center_point (#38058) 2025-07-15 00:14:17 +00:00
user_prompt.rs webdriver: Implement support for simple dialogs (#37913) 2025-07-10 03:15:46 +00:00