Skip to content

Commit 8b57731

Browse files
committed
[css-color-4] update default style rules, fix w3c#4863
1 parent ed25b5d commit 8b57731

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

css-color-4/Overview.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -953,11 +953,11 @@ System Colors</h3>
953953
<dt><dfn>CanvasText</dfn>
954954
<dd><span class="swatch" style="--color: canvastext"></span>&nbsp;Text in application content or documents.
955955
<dt><dfn>LinkText</dfn>
956-
<dd><span class="swatch" style="--color: linktext"></span>&nbsp;Text in non-active, non-visited links.
956+
<dd><span class="swatch" style="--color: linktext"></span>&nbsp;Text in non-active, non-visited links. For light backgrounds, traditionally blue.
957957
<dt><dfn>VisitedText</dfn>
958-
<dd><span class="swatch" style="--color: visitedtext"></span>&nbsp;Text in visited links.
958+
<dd><span class="swatch" style="--color: visitedtext"></span>&nbsp;Text in visited links. For light backgrounds, traditionally purple.
959959
<dt><dfn>ActiveText</dfn>
960-
<dd><span class="swatch" style="--color: activetext"></span>&nbsp;Text in active links.
960+
<dd><span class="swatch" style="--color: activetext"></span>&nbsp;Text in active links. For light backgrounds, traditionally red.
961961

962962
<dt><dfn>ButtonFace</dfn>
963963
<dd><span class="swatch" style="--color: buttonface"></span>&nbsp;The face background color for push buttons.
@@ -3187,8 +3187,9 @@ Default Style Rules</h2>
31873187

31883188
<pre class="lang-css">
31893189
/* traditional desktop user agent colors for hyperlinks */
3190-
:link { color: blue; }
3191-
:visited { color: purple; }
3190+
:link { color: LinkText; }
3191+
:visited { color: VisitedText; }
3192+
:active { color: ActiveText; }
31923193

31933194
/* a reasonable, conservative default for device-cmyk */
31943195
@color-profile device-cmyk {

0 commit comments

Comments
 (0)