webdriver: Fix "element in view" by correctly computing resolved PointerEvents style (#38383)

Testing: `element_click/interactability.py`. For some other tests in
headed window, even tho the target is in view it falsely claim not in
view previously.

---------

Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
Euclid Ye 2025-08-01 15:08:28 +08:00 committed by GitHub
parent 929fd0aa3c
commit 372e5eae59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 10 deletions

View file

@ -4,12 +4,3 @@
[test_element_intercepted_no_pointer_events]
expected: FAIL
[test_disabled]
expected: FAIL
[test_element_interactable_css_transform[translate(100px, 100px)\]]
expected: FAIL
[test_element_interactable_css_transform[rotate(50deg)\]]
expected: FAIL

View file

@ -13,3 +13,21 @@
[test_out_of_view_dropdown]
expected: FAIL
[test_click_multiple_option]
expected: FAIL
[test_click_preselected_multiple_option]
expected: FAIL
[test_click_multiple_does_not_deselect_others]
expected: FAIL
[test_click_selected_multiple_option]
expected: FAIL
[test_out_of_view_multiple]
expected: FAIL
[test_option_disabled]
expected: FAIL