mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
style: Make focus-visible match the spec more closely.
The spec text has been improved a while ago, so I think we should do this. This keeps the current moz-focusring behavior when the pref is disabled, but when enabled it becomes effectively an alias of focus-visible. Differential Revision: https://phabricator.services.mozilla.com/D96697
This commit is contained in:
parent
e1bf1648c7
commit
4771d7ddf0
2 changed files with 3 additions and 5 deletions
|
@ -43,7 +43,7 @@ macro_rules! apply_non_ts_list {
|
|||
("enabled", Enabled, IN_ENABLED_STATE, _),
|
||||
("focus", Focus, IN_FOCUS_STATE, _),
|
||||
("focus-within", FocusWithin, IN_FOCUS_WITHIN_STATE, _),
|
||||
("focus-visible", FocusVisible, IN_FOCUS_VISIBLE_STATE, _),
|
||||
("focus-visible", FocusVisible, IN_FOCUSRING_STATE, _),
|
||||
("hover", Hover, IN_HOVER_STATE, _),
|
||||
("-moz-drag-over", MozDragOver, IN_DRAGOVER_STATE, _),
|
||||
("target", Target, IN_TARGET_STATE, _),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue