Re: [csswg-drafts] [css-values] Calc serialization of subtractions

> This would leave a specified value like calc(100% + max(-10%, -200px)) unchanged.

I think that'd be fine, the simplification you proposed below would not be correct. With a percentage resolution size of `3000px`, `max(-10%, -200px)` returns `-200px` (since `-10%` is `-300px`, and `-200px` is greater than that), but `- max(10%, 200px)` would return `-300px`.

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

Received on Tuesday, 20 November 2018 10:00:12 UTC