| Summary: | [selectors] Double script focus after mouse click shouldn't match :focus-visible | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | focusvisiblewebkitbugzilla | ||||||
| Component: | CSS | Assignee: | Manuel Rego Casasnovas <rego> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, clopez, esprehn+autocc, ews-watchlist, kangil.han, koivisto, rego, webkit-bug-importer, youennf | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 15 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://github.com/web-platform-tests/wpt/pull/33968 | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 185859 | ||||||||
| Attachments: |
|
||||||||
|
Description
focusvisiblewebkitbugzilla
2022-04-18 16:32:36 PDT
Created attachment 458942 [details]
Test case to reproduce the issue
The problem with that website is that it was focusing the element several times via script. The test case attached reproduce the issue. I'm working on a patch to fix it and behave consistently to Chromium and Firefox here. Created attachment 458956 [details]
Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess Committed r293926 (250373@main): <https://commits.webkit.org/250373@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458956 [details]. |