Skip to content

Commit 4096940

Browse files
committed
[css-color-4] Tweak intro to deprecated system colors.
1 parent e083fe6 commit 4096940

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

css-color-4/Overview.bs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2867,18 +2867,23 @@ Default Style Rules</h2>
28672867
<h2 id="deprecated-system-colors" class="no-num">
28682868
Appendix A: Deprecated CSS System Colors</h2>
28692869

2870-
Earlier versions of CSS defined several additional <<system-color>>s.
2871-
These color names have been <strong>deprecated</strong>, however,
2870+
Earlier versions of CSS defined several additional [=system colors=].
2871+
These color keywords have been <strong>deprecated</strong>, however,
28722872
as they are insufficient for their original purpose
28732873
(making website elements look like their native OS counterparts),
2874-
and represent a security risk,
2875-
as it makes it easier for a webpage to "spoof" a native OS dialog.
2874+
represent a security risk
2875+
by making it easier for a webpage to “spoof” a native OS dialog,
2876+
and increase fingerprinting surface, compromising user privacy.
28762877

28772878
User agents must support these keywords,
2878-
but should map them to "default" values,
2879+
but are encouraged to map them to default values
28792880
not based on the user's OS settings
2880-
(for example, mapping all the "background" colors to white and "foreground" colors to black).
2881-
Authors must not use these keywords.
2881+
or match them to appropriate (undeprecated) [=system colors=].
2882+
<strong>Authors must not use these keywords.</strong>
2883+
2884+
The deprecated system colors are represented
2885+
as the <dfn><<deprecated-colors>></dfn> sub-type,
2886+
and are defined as:
28822887

28832888
<dl noexport>
28842889
<dt><dfn>ActiveBorder</dfn>

0 commit comments

Comments
 (0)