Skip to content

Commit ff82c6d

Browse files
committed
[css-color-4] Clarity on clamping
1 parent 64708df commit ff82c6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-color-4/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5264,7 +5264,8 @@ Resolving sRGB values</h3>
52645264

52655265
If the sRGB color was explicitly specified by the author as a [=named color=],
52665266
or as a [=system color=],
5267-
the [=specified value=] is that named or system color, converted to all lowercase.
5267+
the [=specified value=] is that named or system color, converted to
5268+
<a href="https://infra.spec.whatwg.org/#ascii-lowercase">ASCII lowercase</a>.
52685269

52695270
<div class="example" id="ex-named-case">
52705271
<p>The author-provided mixed-case form below has a specified value in all lowercase.</p>
@@ -5294,6 +5295,7 @@ Resolving sRGB values</h3>
52945295
Otherwise, the specified, computed and used value
52955296
is the corresponding sRGB color,
52965297
paired with the specified alpha channel
5298+
(after clamping to [0.0, 1.0])
52975299
and defaulting to opaque if unspecified).
52985300

52995301
<wpt>

0 commit comments

Comments
 (0)