Skip to content

Commit 553385d

Browse files
committed
[css-color-4] Changed the previous term "Required conversion" to "Conversion, if required" because the former term was misleading #14204
1 parent c757353 commit 553385d

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

css-color-5/Overview.bs

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ this also affects the serialization of the result of the relative color.
10161016
the [=relative color processing space=]
10171017
is that of the relative color function.
10181018

1019-
<dfn export>Required conversion</dfn>:
1019+
<dfn export>Conversion, if required</dfn>:
10201020
All operations take part in the
10211021
[=relative color processing space=].
10221022
If the
@@ -1372,7 +1372,7 @@ the allowed [=component keywords=] are:
13721372
* <dfn value for="rgb()">r</dfn>, <dfn value for="rgb()">g</dfn>, and <dfn value for="rgb()">b</dfn>
13731373
are all <<number>>s
13741374
that correspond to the [=origin color's=] red, green, and blue components
1375-
after [=required conversion|conversion, if required=] to sRGB.
1375+
after [=conversion, if required=] to sRGB.
13761376
255.0 is equivalent to 100%.
13771377
* <dfn value for="rgb()">alpha</dfn> is a <<number>> that corresponds to the
13781378
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1444,12 +1444,12 @@ the allowed [=component keywords=] are:
14441444

14451445
* <dfn value for="hsl()">h</dfn> is a <<number>>
14461446
that corresponds to the [=origin color's=] HSL hue, in degrees,
1447-
after [=required conversion|conversion, if required=] to sRGB,
1447+
after [=conversion, if required=] to sRGB,
14481448
normalized to a [0, 360] range. 90 is equivalent to 90deg.
14491449
* <dfn value for="hsl()">s</dfn> and <dfn value for="hsl()">l</dfn>
14501450
are <<number>>s that correspond to the [=origin color's=]
14511451
HSL saturation and lightness,
1452-
after [=required conversion|conversion, if required=] to sRGB.
1452+
after [=conversion, if required=] to sRGB.
14531453
100 is equivalent to 100%.
14541454
* <dfn value for="hsl()">alpha</dfn> is a <<number>> that corresponds to the
14551455
[=origin color's=] alpha transparency 1.0 is equivalent to 100%.
@@ -1490,11 +1490,11 @@ the allowed [=component keywords=] are:
14901490

14911491
* <dfn value for="hwb()">h</dfn> is a <<number>>
14921492
that corresponds to the [=origin color's=] HWB hue, in degrees,
1493-
after [=required conversion|conversion, if required=] to sRGB,
1493+
after [=conversion, if required=] to sRGB,
14941494
normalized to a [0, 360] range. 90 is equivalent to 90deg.
14951495
* <dfn value for="hwb()">w</dfn> and <dfn value for="hwb()">b</dfn>
14961496
are <<number>>s that correspond to the [=origin color's=] HWB whiteness and blackness
1497-
after [=required conversion|conversion, if required=] to sRGB.
1497+
after [=conversion, if required=] to sRGB.
14981498
100 is equivalent to 100%.
14991499
* <dfn value for="hwb()">alpha</dfn> is a <<number>> that corresponds to the
15001500
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1523,11 +1523,11 @@ the allowed [=component keywords=] are:
15231523

15241524
* <dfn value for="lab()">l</dfn> is a <<number>>
15251525
that corresponds to the [=origin color's=] CIE Lightness
1526-
after [=required conversion|conversion, if required=], to CIE Lab.
1526+
after [=conversion, if required=], to CIE Lab.
15271527
100 is equivalent to 100%.
15281528
* <dfn value for="lab()">a</dfn> and <dfn value for="lab()">b</dfn> are <<number>>s
15291529
that correspond to the [=origin color's=] CIE Lab a and b axes
1530-
after [=required conversion|conversion, if required=], to CIE Lab.
1530+
after [=conversion, if required=], to CIE Lab.
15311531
125 is equivalent to 100%, while -125 is equivalent to -100%.
15321532
* <dfn value for="lab()">alpha</dfn> is a <<number>> that corresponds to the
15331533
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1581,11 +1581,11 @@ the allowed [=component keywords=] are:
15811581

15821582
* <dfn value for="oklab()">l</dfn> is a <<number>>
15831583
that corresponds to the [=origin color's=] Oklab Lightness
1584-
after [=required conversion|conversion, if required=], to Oklab.
1584+
after [=conversion, if required=], to Oklab.
15851585
1.0 is equivalent to 100%.
15861586
* <dfn value for="oklab()">a</dfn> and <dfn value for="oklab()">b</dfn> are <<number>>s
15871587
that correspond to the [=origin color's=] Oklab a and b axes
1588-
after [=required conversion|conversion, if required=], to Oklab.
1588+
after [=conversion, if required=], to Oklab.
15891589
0.4 is equivalent to 100%, while -0.4 is equivalent to -100%.
15901590
* <dfn value for="oklab()">alpha</dfn> is a <<number>> that corresponds to the
15911591
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1614,15 +1614,15 @@ the allowed [=component keywords=] are:
16141614

16151615
* <dfn value for="lch()">l</dfn> is a <<number>>
16161616
that corresponds to the [=origin color's=] CIE Lightness
1617-
after [=required conversion|conversion, if required=], to CIE LCH.
1617+
after [=conversion, if required=], to CIE LCH.
16181618
100 is equivalent to 100%.
16191619
* <dfn value for="lch()">c</dfn> is a <<number>>
16201620
that corresponds to the [=origin color's=] LCH chroma
1621-
after [=required conversion|conversion, if required=], to CIE LCH.
1621+
after [=conversion, if required=], to CIE LCH.
16221622
150 is equivalent to 100%.
16231623
* <dfn value for="lch()">h</dfn> is a <<number>>
16241624
that corresponds to the [=origin color's=] LCH hue, in degrees,
1625-
after [=required conversion|conversion, if required=], to CIE LCH,
1625+
after [=conversion, if required=], to CIE LCH,
16261626
normalized to a [0, 360] range. 90 is equivalent to 90deg.
16271627
* <dfn value for="lch()">alpha</dfn> is a <<number>> that corresponds to the
16281628
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1755,15 +1755,15 @@ the allowed [=component keywords=] are:
17551755

17561756
* <dfn value for="oklch()">l</dfn> is a <<number>>
17571757
that corresponds to the [=origin color's=] Oklab Lightness
1758-
after [=required conversion|conversion, if required=], to OkLCh.
1758+
after [=conversion, if required=], to OkLCh.
17591759
1.0 is equivalent to 100%.
17601760
* <dfn value for="oklch()">c</dfn> is a <<number>>
17611761
that corresponds to the [=origin color's=] OkLCh chroma
1762-
after [=required conversion|conversion, if required=], to OkLCh.
1762+
after [=conversion, if required=], to OkLCh.
17631763
0.4 is equivalent to 100%.
17641764
* <dfn value for="oklch()">h</dfn> is a <<number>>
17651765
that corresponds to the [=origin color's=] OkLCh hue, in degrees,
1766-
after [=required conversion|conversion, if required=], to OkLCh,
1766+
after [=conversion, if required=], to OkLCh,
17671767
normalized to a [0, 360] range. 90 is equivalent to 90deg.
17681768
* <dfn value for="oklch()">alpha</dfn> is a <<number>> that corresponds to the
17691769
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.
@@ -1920,23 +1920,23 @@ the number and name of the allowed [=component keywords=] are:
19201920
* defined by the '@color-profile/components' descriptor on the corresponding ''@color-profile'',
19211921
if present;
19221922
otherwise, no relative color manipulation is valid. They are <<number>>s that correspond to the [=origin color's=] components
1923-
after [=required conversion|conversion, if required=] to the color space of the color profile. The value 1.0 corresponds to 100%.
1923+
after [=conversion, if required=] to the color space of the color profile. The value 1.0 corresponds to 100%.
19241924

19251925
Within a [=relative color=] syntax ''color()'' function using <<predefined-rgb-params>>,
19261926
the allowed [=component keywords=] are:
19271927

19281928
* <dfn value for="color()">r</dfn>, <dfn value for="color()">g</dfn>, and <dfn value for="color()">b</dfn>
19291929
are all <<number>>s
19301930
that correspond to the [=origin color's=] red, green, and blue components
1931-
after [=required conversion|conversion, if required=] to the predefined RGB color space.
1931+
after [=conversion, if required=] to the predefined RGB color space.
19321932
The value 1.0 corresponds to 100%.
19331933

19341934
Within a [=relative color=] syntax ''color()'' function using <<xyz-params>>,
19351935
the allowed [=component keywords=] are:
19361936

19371937
* <dfn value for="color()">x</dfn>, <dfn value for="color()">y</dfn>, <dfn value for="color()">z</dfn> are all <<number>>s
19381938
that correspond to the [=origin color's=] X, Y and Z components
1939-
after [=required conversion|conversion, if required=] to relative CIE XYZ color space
1939+
after [=conversion, if required=] to relative CIE XYZ color space
19401940
adapted to the relevant white point.
19411941
The value 1.0 corresponds to 100%.
19421942

@@ -3983,6 +3983,10 @@ This specification adds a way to ensure adequate contrast for text whose backgro
39833983
</h3>
39843984

39853985
<ul>
3986+
<li>Changed the previous term "Required conversion" to "Conversion, if required"
3987+
because the former term was misleading
3988+
(<a href="https://github.com/w3c/csswg-drafts/issues/14204">Issue 4204</a>)
3989+
</li>
39863990
<li>Removed special casing of 100% from the color-mix() algorithm,
39873991
thus avoiding a discontinuity near fully-transparent colors
39883992
(<a href="https://github.com/w3c/csswg-drafts/issues/14014">Issue 14014</a>),

0 commit comments

Comments
 (0)