- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 20 Nov 2023 19:43:49 +0000
- To: public-css-archive@w3.org
In general, I have no particular opinion on how the simplification rules should work, so long as they're consistent and reasonable. I'm happy to match browsers if they're in agreement and the result makes sense. > min(1em) as calc(1em) I'll leave this to #9559. > clamp(0em, 2em, 1em) as calc(1em), round(1.1em, 1em) as calc(1em) It doesn't seem *particularly* useful to me to require this work, versus just waiting until they can actually finish the answer. (And in the clamp case, you can't do that simplification if the arguments are %s.) Are browsers currently doing so? > Chrome/FF currently simplify min(max(1%, -1%)) as max(1%, -1%) This looks like it's probably #9559 too. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9616#issuecomment-1819690950 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 20 November 2023 19:43:51 UTC