Re: [csswg-drafts] [css-values-4] Calc simplification of slightly non-trivial products (#13902)

It's a separate issue from exactly what simplifications we want, but mentioning for clarification: in the 4th case here, surely Chrome's current result is erroneous?

> log: input:  calc(0px - 1 * (min(10px, 20%) + 30px))
> log: parsed: calc(30px - min(10px, 20%))

Those are not at all equivalent expressions: the 30px has lost its negation.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 9 May 2026 09:03:34 UTC