Skip to content

Commit

Permalink
Use :focus-visible in "Phrasing Content" section.
Browse files Browse the repository at this point in the history
This matches Firefox, and the intent of this CSS pseudo-class, see
w3c/csswg-drafts#4278.
  • Loading branch information
emilio committed Dec 28, 2020
1 parent e9d38e8 commit 6dcb992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -112952,7 +112952,7 @@ rt { display: ruby-text; }
:link:active, :visited:active { color: #FF0000; }
:link, :visited { text-decoration: underline; cursor: pointer; }

:focus { outline: auto; }
:focus-visible { outline: auto; }

mark { background: yellow; color: black; } /* this color is just a suggestion and can be changed based on implementation feedback */

Expand Down

0 comments on commit 6dcb992

Please sign in to comment.