Commit 7d818ff
committed
Allow out of range math functions result in random fixed value
[the spec](https://drafts.csswg.org/css-values-4/#calc-range) states
that "Parse-time range-checking of values is not performed within math
functions, and therefore out-of-range values do not cause the
declaration to become invalid".
This means we should allow math functions that result in out of range
results in <random-value-sharing> fixed values at parse time with the
expectation that they will be clamped at compute time1 parent 98685b7 commit 7d818ff
File tree
2 files changed
+1
-1
lines changed- css/css-values
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
0 commit comments