Skip to content

Commit

Permalink
[css-color-4] clarify ASCII case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Feb 26, 2020
1 parent 72c47d2 commit 51b9c15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ Named Colors</h3>
A <dfn>&lt;named-color></dfn> is written as an <<ident>>,
accepted anywhere a <<color>> is.
As usual for CSS-defined <<ident>>s,
all of these keywords are case-insensitive.
all of these keywords are <a href="https://infra.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a>.

The names resolve to colors in sRGB.

Expand Down Expand Up @@ -934,7 +934,7 @@ System Colors</h3>
</dl>

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

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


<h2 id='the-hsl-notation'>
Expand Down Expand Up @@ -2821,6 +2821,7 @@ Changes</h2>
5 November 2019</a></h3>

<ul>
<li>Clarified that color names are ACII case insensitive</li>
<li>Initial value of the "color" property is now CanvasText</li>
<li>Removed confusing gray() function per CSS WG resolution</li>
<li>Collect scattered definitions into new
Expand Down
4 changes: 3 additions & 1 deletion css-fonts-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2352,7 +2352,7 @@ and cause the declaration to be ignored.
Individual codepoints are written using hexadecimal values that correspond to
<a href="https://www.unicode.org/charts/">Unicode character codepoints</a>.
Unicode codepoint values must be between 0 and 10FFFF inclusive. Digit
values of codepoints are ASCII case-insensitive. For interval ranges,
values of codepoints are <a href="https://infra.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a>. For interval ranges,
the start and end codepoints must be within the range noted above and
the end codepoint must be greater than or equal to the start
codepoint.
Expand Down Expand Up @@ -6490,6 +6490,8 @@ Changes
<!-- new ones at the top -->

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

0 comments on commit 51b9c15

Please sign in to comment.