Re: [csswg-drafts] [css-values-5] What is the MVP for inline conditionals on custom properties? (#10064)

For me, the `?` and `:` in `if (a ? b : c)` are preferable, as this will allow us to later use them in `calc()` and other similar cases without the wrapping `if()`.

Yes, we could have the `if()` with a different syntax while still adding the ternary to `calc()` later, but why if we can reuse the same syntax inside it?

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


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

Received on Monday, 24 June 2024 15:23:56 UTC