Skip to content

Comments

Element Clear: Check both keyboard-interactable and pointer-interactable#1943

Open
yezhizhen wants to merge 1 commit intow3c:masterfrom
yezhizhen:keyboard-interactable
Open

Element Clear: Check both keyboard-interactable and pointer-interactable#1943
yezhizhen wants to merge 1 commit intow3c:masterfrom
yezhizhen:keyboard-interactable

Conversation

@yezhizhen
Copy link
Member

@yezhizhen yezhizhen commented Jan 24, 2026

This matches the test expectation and Gecko implementation.

Previous error detection can be false-negative, as a pointer-interactable but not keyboard-interactable element is interactable by definition.


Preview | Diff

… clear

Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
@yezhizhen yezhizhen changed the title Element Clear: Check both keyboard interactable and pointer-interactable Element Clear: Check both keyboard-interactable and pointer-interactable Jan 24, 2026
@yezhizhen
Copy link
Member Author

cc @whimboo @xiaochengh

github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Jan 26, 2026
Test interactability for Element Clear.

There is also a related spec change:
w3c/webdriver#1943 to match the implementation
of vendors, and the reality.

Testing: New passing

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant