Skip to content

Commit 07118ea

Browse files
committed
[css-color] Remove forgiveness in 4, custom-only in 5. Fix #7136
1 parent 968b280 commit 07118ea

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

css-color-4/Overview.bs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3875,16 +3875,6 @@ Predefined Color Spaces</h2>
38753875
are gamut mapped to the valid range at computed value time,
38763876
with a relative colorimetric intent.
38773877

3878-
If more <<number>>s or <<percentage>>s are provided than parameters that the color space takes,
3879-
the excess <<number>>s at the end are ignored.
3880-
The color is still a [=valid color=].
3881-
3882-
If fewer <<number>>s or <<percentage>>s are provided than parameters that the color space takes,
3883-
the missing parameters default to ''0''.
3884-
(This is particularly convenient for multichannel printers
3885-
where the additional inks are spot colors or varnishes
3886-
that most colors on the page won't use.)
3887-
The color is still a [=valid color=].
38883878

38893879
* An optional slash-separated <<alpha-value>>.
38903880
This is interpreted the same way as the <<alpha-value>> in ''rgb()'',

css-color-5/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,25 +1537,25 @@ the allowed [=channel keywords=] are:
15371537
This is because ICC profiles typically do not accept
15381538
out of range input values.
15391539

1540-
For predefined color spaces,
1541-
specified component values
1542-
less than 0 or 0%, or greater than 1 or 100%
1543-
are not invalid;
1544-
these out of gamut colors
1545-
are gamut mapped to the valid range at computed value time,
1546-
with a relative colorimetric intent.
1547-
1548-
If more <<number>>s or <<percentage>>s are provided than parameters that the color space takes,
1540+
For custom color spaces, if more <<number>>s or <<percentage>>s are provided than parameters that the color space takes,
15491541
the excess <<number>>s at the end are ignored.
15501542
The color is still a [=valid color=].
15511543

1552-
If fewer <<number>>s or <<percentage>>s are provided than parameters that the color space takes,
1544+
For custom color spaces, if fewer <<number>>s or <<percentage>>s are provided than parameters that the color space takes,
15531545
the missing parameters default to ''0''.
15541546
(This is particularly convenient for multichannel printers
15551547
where the additional inks are spot colors or varnishes
15561548
that most colors on the page won't use.)
15571549
The color is still a [=valid color=].
15581550

1551+
For predefined color spaces,
1552+
specified component values
1553+
less than 0 or 0%, or greater than 1 or 100%
1554+
are not invalid;
1555+
these out of gamut colors
1556+
are gamut mapped to the valid range at computed value time,
1557+
with a relative colorimetric intent.
1558+
15591559
* An optional slash-separated <<alpha-value>>.
15601560
This is interpreted the same way as the <<alpha-value>> in ''rgb()'',
15611561
and if omitted it defaults to ''100%''.

0 commit comments

Comments
 (0)