Re: [csswg-drafts] [css-conditional-4] Rename @when to @if (#6684)

@matthew-dean 

> Is that on the table for an inline function? 

Yes, it has been for a while. Please follow the links in [my comment above](https://github.com/w3c/csswg-drafts/issues/6684#issuecomment-1075877417) for the relevant discussions

> > `if(test(<condition>), <if-true>, <if-false>)` is pretty unwieldy
> 
Why not `if(<condition>, <if-true>, <if-false>)` 🤔

@faceless2 suggested disambiguating `<boolean-condition>` from Sass via a `test()` function. We can't use a different `<boolean-condition>` in `if()`, it would be the same everywhere.

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


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

Received on Wednesday, 23 March 2022 14:39:57 UTC