File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -2125,12 +2125,16 @@ HSL Colors: ''hsl()'' and ''hsla()'' functions</h2>
2125
2125
and ''0%'' or ''0'' is a fully-unsaturated gray.
2126
2126
For lightness, ''50%'' or ''50'' represents the "normal" color,
2127
2127
while ''100%'' or ''100'' is white and ''0%'' or ''0'' is black.
2128
- <!-- unbounded hsl
2129
- If the saturation or lightness are less than ''0%''
2130
- or greater than ''100 %'' ,
2131
- they are clamped to those values
2128
+
2129
+ <!-- https://github.com/w3c/csswg-drafts/issues/9222 -->
2130
+ If the saturation is less than ''0 %''
2131
+ it is clamped to ''0%''
2132
2132
at parsed-value time,
2133
- before being converted to an sRGB color. -->
2133
+ before being converted to an sRGB color.
2134
+
2135
+ <wpt>
2136
+ t424-hsl-clip-outside-gamut-b.xht
2137
+ </wpt>
2134
2138
2135
2139
The final argument specifies the alpha channel of the color.
2136
2140
It's interpreted identically to the fourth argument of the ''rgb()'' function.
You can’t perform that action at this time.
0 commit comments