Commit 86ce49f
Disallow unresolved calc() in linear() timing function
The use of sibling-index() or sign() with element-dependent units would
otherwise cause crashes. The specification says the ordering of control
points should happen before computed style time, which makes the
behavior undefined for element-dependent calc() expressions.
Bug: 406926307
Change-Id: Ie2c9acb0ebd8d0f60dd0b7c8cfd2cea4d81a4af1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6409072
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Daniil Sakhapov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1440185}1 parent 0556bbc commit 86ce49f
File tree
1 file changed
+2
-2
lines changed- css/css-easing
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments