Re: [csswg-drafts] [css-values] Calc serialization of subtractions (#3335)

c5cd052d2 adds serialization algos that are new-calc aware. In particular:

* negative values (both negative numeric values and Negate nodes coming from TypedOM) will serialize with a "-" in a sum).
* Sums and products are sorted as (num, percent, dimensions sorted by unit, everything else in original order), post simplification. (Since old-style calcs always simplify down to a sum, this shouldn't change behavior.)

Let me know if there are any problems.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3335#issuecomment-538151056 using your GitHub account

Received on Thursday, 3 October 2019 22:19:19 UTC