Skip to content

Commit

Permalink
[css-color-5][editorial] wpt
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Sep 20, 2023
1 parent 97dc112 commit 7215518
Showing 1 changed file with 54 additions and 1 deletion.
55 changes: 54 additions & 1 deletion css-color-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,22 @@ or taken from the origin color


<wpt>
relative-currentcolor-a98rgb-01.html
relative-currentcolor-lch-01.html
relative-currentcolor-rgb-01.html
relative-currentcolor-displayp3-01.html
relative-currentcolor-oklab-01.html
relative-currentcolor-rgb-02.html
relative-currentcolor-hsl-01.html
relative-currentcolor-oklch-01.html
relative-currentcolor-xyzd50-01.html
relative-currentcolor-hsl-02.html
relative-currentcolor-prophoto-01.html
relative-currentcolor-xyzd65-01.html
relative-currentcolor-hwb-01.html
relative-currentcolor-rec2020-01.html
relative-currentcolor-lab-01.html
relative-currentcolor-rec2020-02.html
parsing/color-computed-relative-color.html
parsing/color-invalid-relative-color.html
parsing/color-valid-relative-color.html
Expand Down Expand Up @@ -1081,6 +1097,11 @@ the allowed [=channel keywords=] are:
* <dfn value for="rgb()">alpha</dfn> is a <<number>> that corresponds to the
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.

<wpt>
relative-currentcolor-rgb-01.html
relative-currentcolor-rgb-02.html
</wpt>

<div class="example">
To manipulate color channels in the sRGB color space:

Expand Down Expand Up @@ -1150,6 +1171,11 @@ the allowed [=channel keywords=] are:
* <dfn value for="hsl()">alpha</dfn> is a <<number>> that corresponds to the
[=origin color's=] alpha transparency 1.0 is equivalent to 100%.

<wpt>
relative-currentcolor-hsl-01.html
relative-currentcolor-hsl-02.html
</wpt>

<div class="example">
This adds 180 degrees to the hue angle, giving a complementary color.
<pre highlight=css>
Expand Down Expand Up @@ -1188,6 +1214,10 @@ the allowed [=channel keywords=] are:
* <dfn value for="hwb()">alpha</dfn> is a <<number>> that corresponds to the
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.

<wpt>
relative-currentcolor-hwb-01.html
</wpt>

<h3 id="relative-Lab">Relative Lab Colors</h3>

The grammar of the ''lab()'' function is extended as follows:
Expand Down Expand Up @@ -1215,6 +1245,10 @@ the allowed [=channel keywords=] are:
* <dfn value for="lab()">alpha</dfn> is a <<number>> that corresponds to the
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.

<wpt>
relative-currentcolor-lab-01.html
</wpt>

<div class="example">
Multiple ways to adjust the transparency of a base color:

Expand Down Expand Up @@ -1267,6 +1301,10 @@ the allowed [=channel keywords=] are:
* <dfn value for="oklab()">alpha</dfn> is a <<number>> that corresponds to the
[=origin color's=] alpha transparency. 1.0 is equivalent to 100%.

<wpt>
relative-currentcolor-oklab-01.html
</wpt>

<h3 id="relative-LCH">Relative LCH Colors</h3>

The grammar of the ''lch()'' function is extended as follows:
Expand Down Expand Up @@ -2513,7 +2551,22 @@ or any other color or monochrome output device which has been characterized.
thus preserving inheritance into child elements.

<wpt>

relative-currentcolor-a98rgb-01.html
relative-currentcolor-lch-01.html
relative-currentcolor-rgb-01.html
relative-currentcolor-displayp3-01.html
relative-currentcolor-oklab-01.html
relative-currentcolor-rgb-02.html
relative-currentcolor-hsl-01.html
relative-currentcolor-oklch-01.html
relative-currentcolor-xyzd50-01.html
relative-currentcolor-hsl-02.html
relative-currentcolor-prophoto-01.html
relative-currentcolor-xyzd65-01.html
relative-currentcolor-hwb-01.html
relative-currentcolor-rec2020-01.html
relative-currentcolor-lab-01.html
relative-currentcolor-rec2020-02.html
</wpt>

<h3 id="resolving-device-cmyk-values">
Expand Down

0 comments on commit 7215518

Please sign in to comment.