Skip to content

Commit 3008229

Browse files
committed
[css-color] Make definition of resolving color values match implementations better
1 parent d5e2321 commit 3008229

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

css-color/Overview.bs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,18 @@ Resolving Color values</h2>
190190
The computed value and used value of
191191
<a>named colors</a> (including <<deprecated-system-color>> colors),
192192
3 and 6 digits <a>hex colors</a>,
193+
4 and 8 digits <a>hex colors</a> with an explicitly opaque alpha channel,
193194
comma separated ''rgb()'' colors without an alpha channel,
194-
and comma separated ''hsl()'' colors without an alpha channel,
195+
comma separated ''rgba()'' colors with an explicitly opaque alpha channel,
196+
comma separated ''hsl()'' colors without an alpha channel,
197+
and comma separated ''hsla()'' colors with an explicitly opaque alpha channel,
195198
is the equivalent numeric value in comma separated ''rgb()'' notation omitting the alpha value.
196199

197200
<li>
198201
The computed value and used value of
199-
4 and 8 digits <a>hex colors</a>,
200-
comma separated ''rgba()'' colors with an alpha channel,
201-
and comma separated ''hsla()'' colors with an alpha channel,
202+
4 and 8 digits <a>hex colors</a> with a non opaque alpha channel,
203+
comma separated ''rgba()'' colors with a non opaque alpha channel,
204+
and comma separated ''hsla()'' colors with a non opaque alpha channel,
202205
is the equivalent numeric value in comma separated ''rgba()'' notation with the alpha value.
203206

204207
</ul>

0 commit comments

Comments
 (0)