Bug 30523 - Add support for -webkit-focusring CSS pseudo class
Summary: Add support for -webkit-focusring CSS pseudo class
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 26856
  Show dependency treegraph
 
Reported: 2009-10-19 11:18 PDT by Erik Arvidsson
Modified: 2019-08-06 09:27 PDT (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Arvidsson 2009-10-19 11:18:48 PDT
For background see

http://enndeakin.wordpress.com/2009/10/05/visible-focus-rings/
https://bugzilla.mozilla.org/show_bug.cgi?id=418521

To sum it up we need a way to differentiate how an element was focused. The focusring pseudo class should be the platform specific pseudo class that we use to show the focus outline.
Comment 1 Darryl Pogue 2016-11-24 10:19:52 PST
This has been added to the CSS Selectors draft as the :focusring pseudoclass
https://github.com/w3c/csswg-drafts/pull/709
Comment 2 Albert Scheiner 2018-08-15 19:04:47 PDT
The name of the pseudoclass has changed in the meantime to :focus-visible.

Sources:
https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo
https://caniuse.com/#feat=css-focus-visible
https://bugzilla.mozilla.org/show_bug.cgi?id=1445482