File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5162,16 +5162,17 @@ Range Checking</h3>
51625162 (Clamping is not performed on <a>specified values</a> .)
51635163
51645164 Note: This requires all contexts accepting ''calc()''
5165- to define their allowable values as a closed (not open) interval.
5165+ to define any range restrictions as closed (not open) interval endpoints:
5166+ "greater than or equal to 0px", not "greater than 0px" or "positive lengths".
51665167
5167- Note: By definition ,
5168- ±∞ are outside the allowed range for any property,
5169- and will clamp to the minimum/maximum value allowed.
5168+ Note: While CSS intentionally leaves numeric precision/range UA-defined ,
5169+ extremely large values (including, notably, ±∞)
5170+ will clamp to the minimum/maximum value allowed.
51705171 Even properties that can explicitly represent infinity as a keyword value,
51715172 such as 'animation-iteration-count' ,
51725173 will end up clamping ±∞,
51735174 as [=math functions=] can't resolve to keyword values;
5174- the <em> numeric</em> part of the property's syntax still has a minimum/maximum value.
5175+ the <em> numeric</em> part of the property's syntax still has an implicit minimum/maximum value.
51755176
51765177 Additionally, if a [=math function=] that resolves to <<number>>
51775178 is used somewhere that only accepts <<integer>> ,
You can’t perform that action at this time.
0 commit comments