Content-Length: 272482 | pFad | http://github.com/w3c/csswg-drafts/commit/1b78f44f1d1aa3235d029afbcd8a9d96e6d6ded1

49 [css-values-4] Clarify that clamping happens to 'top-level calculatio… · w3c/csswg-drafts@1b78f44 · GitHub
Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1b78f44

Browse files
committedApr 6, 2023
[css-values-4] Clarify that clamping happens to 'top-level calculations'. #8158
1 parent e51bbc0 commit 1b78f44

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎css-values-4/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4641,7 +4641,7 @@ Range Checking</h3>
46414641

46424642
Parse-time range-checking of values is not performed within [=math functions=],
46434643
and therefore out-of-range values do not cause the declaration to become invalid.
4644-
However, the value resulting from an expression
4644+
However, the value resulting from a [=top-level calculation=]
46454645
must be clamped to the range allowed in the target context.
46464646
Clamping is performed on <a>computed values</a> to the extent possible,
46474647
and also on <a>used values</a>
@@ -5189,6 +5189,9 @@ Recent Changes</h3>
51895189
(<a href="https://github.com/w3c/csswg-drafts/issues/8532">Issue 8532</a>)
51905190
<li>Clarified that fully omitted ''mix()'' arguments are valid.
51915191
(<a href="https://github.com/w3c/csswg-drafts/issues/8556">Issue 8556</a>)
5192+
<li>Clarified that range clamping happens specifically to [=top-level calculations=]
5193+
(rather than the unclear term "expressions").
5194+
(<a href="https://github.com/w3c/csswg-drafts/issues/8158">Issue 8158</a>)
51925195
</ul>
51935196

51945197
Substantial changes since <a href="https://www.w3.org/TR/2021/WD-css-values-4-20211016/">16 October 2021 WD</a>:

0 commit comments

Comments
 (0)
Failed to load comments.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/w3c/csswg-drafts/commit/1b78f44f1d1aa3235d029afbcd8a9d96e6d6ded1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy