mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
style: Prototype :focus-visible behind a flag.
The heuristic is that we show focus outlines for unknown or key focus, and not for mouse / touch. This is probably not the final heuristic we take, but this allows people to play with it and file bugs. Once this is mature enough we should remove :-moz-focusring in favor of :focus-visible. Differential Revision: https://phabricator.services.mozilla.com/D63861
This commit is contained in:
parent
7af9a087aa
commit
d8cb4c4647
4 changed files with 9 additions and 0 deletions
|
@ -2064,6 +2064,7 @@ impl<'le> ::selectors::Element for GeckoElement<'le> {
|
|||
NonTSPseudoClass::MozReadOnly |
|
||||
NonTSPseudoClass::MozReadWrite |
|
||||
NonTSPseudoClass::FocusWithin |
|
||||
NonTSPseudoClass::FocusVisible |
|
||||
NonTSPseudoClass::MozDragOver |
|
||||
NonTSPseudoClass::MozDevtoolsHighlighted |
|
||||
NonTSPseudoClass::MozStyleeditorTransitioning |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue