mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
script: Focus on mousedown instead of mouse click according to spec (#38589)
- Focus on mousedown instead of mouse click according to [spec](https://w3c.github.io/uievents/#handle-native-mouse-down) - Refactor to follow spec closer and make things more clear. - Add some spec link. - Remove some dead spec link. Still some preparation before implementing #38435. Testing: No regression in WebDriver & WPT. But update some outdated test. Fixes: #38588 --------- Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
parent
d2122c8bd8
commit
5d21234872
8 changed files with 69 additions and 31 deletions
|
@ -1,9 +1,17 @@
|
|||
[navigate.py]
|
||||
expected: TIMEOUT
|
||||
[test_link_hash]
|
||||
[test_link_from_toplevel_context_with_target[_blank\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_link_from_toplevel_context_with_target[_blank\]]
|
||||
[test_link_from_nested_context_with_target[]]
|
||||
expected: FAIL
|
||||
|
||||
[test_link_from_nested_context_with_target[_parent]]
|
||||
expected: FAIL
|
||||
|
||||
[test_link_from_nested_context_with_target[_self]]
|
||||
expected: FAIL
|
||||
|
||||
[test_link_from_nested_context_with_target[_top]]
|
||||
expected: FAIL
|
||||
|
||||
[test_link_from_toplevel_context_with_target[_parent\]]
|
||||
|
|
|
@ -7,3 +7,9 @@
|
|||
|
||||
[test_dismiss[prompt-None\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_accept[alert-None\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_dismiss[confirm-False\]]
|
||||
expected: FAIL
|
||||
|
|
|
@ -10,3 +10,6 @@
|
|||
|
||||
[test_seen_nodes[https coop\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_removed_iframe]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[navigation.py]
|
||||
expected: TIMEOUT
|
||||
[test_pointer]
|
||||
expected: FAIL
|
||||
|
|
3
tests/wpt/meta/webdriver/tests/classic/perform_actions/pointer_modifier_click.py.ini
vendored
Normal file
3
tests/wpt/meta/webdriver/tests/classic/perform_actions/pointer_modifier_click.py.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[pointer_modifier_click.py]
|
||||
[test_many_modifiers_click]
|
||||
expected: FAIL
|
|
@ -4,3 +4,6 @@
|
|||
|
||||
[test_set_to_available_size]
|
||||
expected: FAIL
|
||||
|
||||
[test_negative_x_y]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue