[Webkit-unassigned] [Bug 221925] New: [selectors] Use :focus-visible in the default UA style sheet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 15 14:17:09 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221925

            Bug ID: 221925
           Summary: [selectors] Use :focus-visible in the default UA style
                    sheet
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat, WebExposed
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rego at igalia.com
        Depends on: 185859

Once :focus-visible is implemented we should change the default style sheet to use it instead of :-webkit-direct-focus.

Ideally it should keep the same behavior than :-webkit-direct-focus once the following CSSWG issue is resolved:
https://github.com/w3c/csswg-drafts/issues/5893#issuecomment-771230873
Otherwise we'll need to think about what we should do here.

Selectors and HTML specs indicate this:
* https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo
* https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3

Chromium and Firefox already do this.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=185859
[Bug 185859] [selectors] Support for Focus-Indicated Pseudo-class: `:focus-visible`
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210215/373e6d12/attachment.htm>


More information about the webkit-unassigned mailing list