Commit 674e1a5
committed
LibWeb: Support transitions between 3D and non-derivative 2D functions
If either of the two transform functions during interpolation is a 3D
function, both of them get coerced to a 3D function before deciding what
to do next. However, we only supported converting 2D functions to 3D if
they had a 2D primitive they could be converted to first.
Change our behavior to default to converting to matrix3d() if there is
no explicit conversion path. Fixes a crash in
`css/css-transforms/animation/transform-interpolation-004.html`.1 parent 8348c55 commit 674e1a5
File tree
3 files changed
+493
-7
lines changed- Libraries/LibWeb/CSS
- Tests/LibWeb/Text
- expected/wpt-import/css/css-transforms/animation
- input/wpt-import/css/css-transforms/animation
3 files changed
+493
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
974 | 983 | | |
975 | 984 | | |
976 | 985 | | |
| |||
1153 | 1162 | | |
1154 | 1163 | | |
1155 | 1164 | | |
1156 | | - | |
| 1165 | + | |
| 1166 | + | |
1157 | 1167 | | |
1158 | 1168 | | |
1159 | 1169 | | |
| |||
1272 | 1282 | | |
1273 | 1283 | | |
1274 | 1284 | | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
| 1285 | + | |
| 1286 | + | |
1281 | 1287 | | |
1282 | 1288 | | |
1283 | 1289 | | |
| |||
0 commit comments