|
57 | 57 | "rationale": "if", |
58 | 58 | "steps": [ |
59 | 59 | { |
60 | | - "html": "If the user, author, or user-agent stylesheet\n\t\t\t\thas an <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#at-ruledef-profile\" id=\"ref-for-at-ruledef-profile①⓪\">@color-profile</a> definition for device-cmyk,\n\t\t\t\tand the resource specified by the src descriptor can be retrieved,\n\t\t\t\tand the resource is a valid CMYK ICC profile,\n\t\t\t\tand the user agent can process ICC profiles,\n\t\t\t\tthe computed value of the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk\" id=\"ref-for-funcdef-device-cmyk⑥\">device-cmyk()</a> function\n\t\t\t\tmust be the Lab value of the CMYK color." |
| 60 | + "html": "If the user, author, or user-agent stylesheet\n\t\t\t\thas an <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#at-ruledef-profile\" id=\"ref-for-at-ruledef-profile①⓪\">@color-profile</a> definition for device-cmyk,\n\t\t\t\tand the resource specified by the src descriptor can be retrieved,\n\t\t\t\tand the resource is a valid CMYK ICC profile,\n\t\t\t\tand the user agent can process ICC profiles,\n\t\t\t\tthe computed value of the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk\" id=\"ref-for-funcdef-device-cmyk⑧\">device-cmyk()</a> function\n\t\t\t\tmust be the Lab value of the CMYK color." |
61 | 61 | }, |
62 | 62 | { |
63 | | - "html": "Otherwise,\n\t\t\t\tthe computed value of the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk\" id=\"ref-for-funcdef-device-cmyk⑦\">device-cmyk()</a> function must be\n\t\t\t\tthe sRGB value of the CMYK color,\n\t\t\t\tas converted with the following naive conversion algorithm." |
| 63 | + "html": "Otherwise,\n\t\t\t\tthe computed value of the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk\" id=\"ref-for-funcdef-device-cmyk⑨\">device-cmyk()</a> function must be\n\t\t\t\tthe sRGB value of the CMYK color,\n\t\t\t\tas converted with the following naive conversion algorithm." |
64 | 64 | } |
65 | 65 | ] |
66 | 66 | }, |
|
90 | 90 | "rationale": "for", |
91 | 91 | "steps": [ |
92 | 92 | { |
93 | | - "html": "<p>For <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-hwb\" id=\"ref-for-funcdef-hwb③\">hwb()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lab\" id=\"ref-for-funcdef-lab③\">lab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lch\" id=\"ref-for-funcdef-lch④\">lch()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklab\" id=\"ref-for-funcdef-oklab③\">oklab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklch\" id=\"ref-for-funcdef-oklch④\">oklch()</a></p>" |
| 93 | + "html": "<p>For <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-hwb\" id=\"ref-for-funcdef-hwb③\">hwb()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lab\" id=\"ref-for-funcdef-lab④\">lab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lch\" id=\"ref-for-funcdef-lch④\">lch()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklab\" id=\"ref-for-funcdef-oklab③\">oklab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklch\" id=\"ref-for-funcdef-oklch④\">oklch()</a></p>" |
94 | 94 | } |
95 | 95 | ] |
96 | 96 | }, |
|
117 | 117 | "rationale": "for", |
118 | 118 | "steps": [ |
119 | 119 | { |
120 | | - "html": "<p>For <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-hwb\" id=\"ref-for-funcdef-hwb④\">hwb()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lab\" id=\"ref-for-funcdef-lab④\">lab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lch\" id=\"ref-for-funcdef-lch⑤\">lch()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklab\" id=\"ref-for-funcdef-oklab④\">oklab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklch\" id=\"ref-for-funcdef-oklch⑤\">oklch()</a></p>" |
| 120 | + "html": "<p>For <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-hwb\" id=\"ref-for-funcdef-hwb④\">hwb()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lab\" id=\"ref-for-funcdef-lab⑤\">lab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-lch\" id=\"ref-for-funcdef-lch⑤\">lch()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklab\" id=\"ref-for-funcdef-oklab④\">oklab()</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-color-5/#funcdef-oklch\" id=\"ref-for-funcdef-oklch⑤\">oklch()</a></p>" |
121 | 121 | } |
122 | 122 | ] |
123 | 123 | }, |
|
0 commit comments