Skip to content

Commit 51b9c15

Browse files
committed
[css-color-4] clarify ASCII case insensitive
1 parent 72c47d2 commit 51b9c15

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

css-color-4/Overview.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ Named Colors</h3>
546546
A <dfn>&lt;named-color></dfn> is written as an <<ident>>,
547547
accepted anywhere a <<color>> is.
548548
As usual for CSS-defined <<ident>>s,
549-
all of these keywords are case-insensitive.
549+
all of these keywords are <a href="https://infra.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a>.
550550

551551
The names resolve to colors in sRGB.
552552

@@ -934,7 +934,7 @@ System Colors</h3>
934934
</dl>
935935

936936
Note: As with all other [=CSS/keywords=],
937-
these names are case-insensitive.
937+
these names are <a href="https://infra.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a>.
938938
They are shown here with mixed capitalization for legibility.
939939

940940
For systems that do not have a particular system UI concept,
@@ -1017,7 +1017,7 @@ The ''<color>/currentcolor'' keyword</h3>
10171017
rather than a CSS value.
10181018
Only later did CSS pick it up,
10191019
at which point the capitalization stopped mattering,
1020-
as CSS keywords are case-insensitive.
1020+
as CSS keywords are <a href="https://infra.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a>.
10211021

10221022

10231023
<h2 id='the-hsl-notation'>
@@ -2821,6 +2821,7 @@ Changes</h2>
28212821
5 November 2019</a></h3>
28222822

28232823
<ul>
2824+
<li>Clarified that color names are ACII case insensitive</li>
28242825
<li>Initial value of the "color" property is now CanvasText</li>
28252826
<li>Removed confusing gray() function per CSS WG resolution</li>
28262827
<li>Collect scattered definitions into new

css-fonts-4/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2352,7 +2352,7 @@ and cause the declaration to be ignored.
23522352
Individual codepoints are written using hexadecimal values that correspond to
23532353
<a href="https://www.unicode.org/charts/">Unicode character codepoints</a>.
23542354
Unicode codepoint values must be between 0 and 10FFFF inclusive. Digit
2355-
values of codepoints are ASCII case-insensitive. For interval ranges,
2355+
values of codepoints are <a href="https://infra.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a>. For interval ranges,
23562356
the start and end codepoints must be within the range noted above and
23572357
the end codepoint must be greater than or equal to the start
23582358
codepoint.
@@ -6490,6 +6490,8 @@ Changes
64906490
<!-- new ones at the top -->
64916491

64926492
<ul>
6493+
<li>Clarified that color names are ACII case insensitive</li>
6494+
<li>Add a security and privacy section</li>
64936495
<li>Clarify colorspace of palette entries</li>
64946496
<li>Add the value none to font-palette</li>
64956497
<li>Mark font-palette and @font-palette-values as at-risk</li>

0 commit comments

Comments
 (0)