Skip to content

Commit fa7d840

Browse files
committed
[css-color-4] Remove fallback from device-cmyk, fix #6721
1 parent 691511e commit fa7d840

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

css-color-4/Overview.bs

+2-12
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,6 @@ Representing Colors: the <<color>> type</h2>
453453
<pre class='prod'>
454454
&lt;color> = <<absolute-color-base>> | currentcolor | <<system-color>> | <<device-cmyk()>>
455455
456-
<dfn>&lt;absolute-color></dfn> = <<absolute-color-base>> | <<absolute-device-cmyk>>
457-
458456
<dfn>&lt;absolute-color-base></dfn> = <<hex-color>> | <<named-color>> | transparent |
459457
<<rgb()>> | <<rgba()>> | <<hsl()>> | <<hsla()>> | <<hwb()>> |
460458
<<lab()>> | <<lch()>> |
@@ -4442,8 +4440,7 @@ Uncalibrated CMYK Colors: the ''device-cmyk()'' function</h2>
44424440
The ''device-cmyk()'' function allows authors to specify a color in this way:
44434441

44444442
<pre class='prod'>
4445-
<dfn>device-cmyk()</dfn> = device-cmyk( <<cmyk-component>>{4} [ / <<alpha-value>> ]? , <<color>>? )
4446-
<dfn>&lt;absolute-device-cmyk></dfn> = device-cmyk( <<cmyk-component>>{4} [ / <<alpha-value>> ]? , <<absolute-color>>? )
4443+
<dfn>device-cmyk()</dfn> = device-cmyk( <<cmyk-component>>{4} [ / <<alpha-value>> ]? )
44474444
<dfn>&lt;cmyk-component></dfn> = <<number>> | <<percentage>>
44484445
</pre>
44494446

@@ -4458,10 +4455,6 @@ Uncalibrated CMYK Colors: the ''device-cmyk()'' function</h2>
44584455
It's interpreted identically to the fourth argument of the ''rgb()'' function.
44594456
If omitted, it defaults to ''100%''.
44604457

4461-
The sixth argument specifies the fallback color,
4462-
used when the user agent doesn't know how to accurately transform the CMYK color to RGB.
4463-
If omitted, it defaults to the CMYK color <a>naively converted to RGBA</a>.
4464-
44654458
Typically, print-based applications will actually store the used colors as CMYK,
44664459
and send them to the printer in that form.
44674460
However, such colors do not have a colorimetric interpretation,
@@ -4479,9 +4472,6 @@ Uncalibrated CMYK Colors: the ''device-cmyk()'' function</h2>
44794472
and the user agent can process ICC profiles,
44804473
the computed value of the ''device-cmyk()'' function
44814474
must be the Lab value of the CMYK color.</li>
4482-
<li>Otherwise, if a valid fallback color has been specified,
4483-
the computed value of the ''device-cmyk()'' function
4484-
must be that fallback color.</li>
44854475
<li>Otherwise,
44864476
the computed value of the ''device-cmyk()'' function must be
44874477
the sRGB value of the CMYK color,
@@ -4490,7 +4480,7 @@ Uncalibrated CMYK Colors: the ''device-cmyk()'' function</h2>
44904480
</ol>
44914481

44924482
<div class='example' id="ex-device-cmyk-naive">
4493-
For example, with no ''@color-profile'' and no fallback specified,
4483+
For example, with no ''@color-profile'',
44944484
the following colors are equivalent, using the naive conversion.
44954485

44964486
<pre class="lang-css">

0 commit comments

Comments
 (0)