Skip to content

Commit

Permalink
[css-pseudo-4] Use shorthand to make it slightly more obvious that it…
Browse files Browse the repository at this point in the history
… needs to be reset to be styled #9233
  • Loading branch information
fantasai committed Oct 15, 2024
1 parent a32f4f1 commit 8946651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css-pseudo-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -952,8 +952,8 @@ Default UA Styles</h3>
The following additions are recommended for the default UA stylesheet:
<pre class="lang-css">
/* Represent default spelling/grammar error styling in an adjustable way */
:root::spelling-error { text-decoration-line: spelling-error; }
:root::grammar-error { text-decoration-line: grammar-error; }
:root::spelling-error { text-decoration: spelling-error; }
:root::grammar-error { text-decoration: grammar-error; }
</pre>

Some [=highlight pseudo-elements=]
Expand Down

0 comments on commit 8946651

Please sign in to comment.