Re: [csswg-drafts] [css-values-4] Should physical units in specified values in calc() collapse into px unit when serialized? (#3741)

The simplification and serialization rules are now clear about what happens here.

* At all simplification points (immediately upon parsing, at computed-value time, at used-value time), values are absolutized as much as possible, converted to their canonical unit, and then combined together. So `calc(1px + 1in)` produces `calc(97px)` right away.
* No excess parens, if I've written the algo correctly.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at using your GitHub account

Received on Thursday, 3 October 2019 22:29:58 UTC