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

As someone who's off-and-on followed a few of the parent issues for years (I didn't even know this aggregate issue existed until today), I would like to point out that `@if` could be desugared into a series of `if(cond, then, else)` if needed.

Personally, I'd like to see both an at-rule block *and* a ternary expression happen, not just one or the other. Both are useful in their own right, and most major languages nowadays that have separate statement and expression contexts have both. It doesn't have to be either-or.

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


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

Received on Sunday, 28 July 2024 18:53:48 UTC