Skip to content

Commit eb80c9b

Browse files
committed
[css-color-4][editprial] add a couple of WPT for transparent
1 parent 7835149 commit eb80c9b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

css-color-4/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2148,6 +2148,11 @@ The ''transparent'' keyword</h3>
21482148
The keyword <dfn value for="<color>">transparent</dfn> specifies a <a>transparent black</a>.
21492149
It is a type of <<named-color>>.
21502150

2151+
<wpt>
2152+
parsing/color-computed.html
2153+
parsing/color-valid.html
2154+
</wpt>
2155+
21512156

21522157
<h3 id='currentcolor-color'>
21532158
The ''<color>/currentcolor'' keyword</h3>
@@ -2428,7 +2433,7 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
24282433
Converting HSL colors to sRGB colors</h3>
24292434

24302435
Converting an HSL color to sRGB is straightforward mathematically.
2431-
Here's a simple implementation of the conversion algorithm in JavaScript.
2436+
Here's a sample implementation of the conversion algorithm in JavaScript.
24322437
It returns an array of three numbers
24332438
representing the red, green, and blue channels of the colors,
24342439
normalized to the range [0, 1].

0 commit comments

Comments
 (0)