- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Oct 2024 22:23:12 +0000
- To: public-css-archive@w3.org
Currently all the conditions in `if()` are functions; I propose we use the "just parentheses" syntax for this. Namely:
```
( <calc-sum> <mf-comparison> <calc-sum> )
```
This way you can write, say, `flex-flow: if( (100vw > 200px): row ; else : column; );`
(or, spread over multiple lines:
```
flex-flow: if(
(100vw > 200px): row;
else: column;
);
```
)
--
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11104#issuecomment-2442786211 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 28 October 2024 22:23:13 UTC