[css-values-4] Properly handle simplification of sum nodes containing negated sum nodes #13020#13069
Conversation
… negated sum nodes w3c#13020 A WPT test already exists in the form of css/css-values/calc-nesting-002.html
|
Looks good to me. Didn't think of this, but yes, pushing a negate into a sum makes perfect sense for simplification purposes. Looks like Firefox is failing this test with an odd transformation - it pushes the Negate inward, but then further transforms the Afaict, Safari is failing the test because it actually faithfully follows the spec, including for Product simplification: in this case ( I'll open an issue about this latter transform. |
Closes #13020
A WPT test already exists in the form of css/css-values/calc-nesting-002.html