Skip to content

Commit

Permalink
[css-color-4] Exclude none as a component name
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Oct 30, 2021
1 parent 33ce8b5 commit 9a5895f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css-color-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4330,6 +4330,12 @@ Specifying a color profile: the ''@color-profile'' at-rule</h3>
in the order in which they are used in the color profile,
while the total number of tokens defines the number of components.

A component must not be named none,
because that would clash with the token for missing values.
If this descriptor contains a component called none,
the descriptor is invalid.


<div class="example" id="ex-components-cmyk">
This descriptor declares that there are four components named cyan, magenta, yellow and black:
<pre>components: cyan, magenta, yellow, black</pre>
Expand Down

0 comments on commit 9a5895f

Please sign in to comment.