- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Jun 2024 01:35:30 +0000
- To: public-css-archive@w3.org
After discussing with @fantasai, we think the best way forwards is: - `?` separator between condition and values - `,` or `;` separator between _if-true_ and _if-false_ values, same as other CSS functions - Empty token stream possible to specify in the same way as one does elsewhere in CSS. If authors want to make it more clear, they can add a comment. If we want to introduce a keyword or whatever in the future, we still can. This means that `if(style(...) ? foo, bar)` is parsed as "foo if true, bar if not" and if authors desire `foo, bar` to be parsed as a whole as the _if-true_ value, they can do `if(style(...) ? foo, bar; )` -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10064#issuecomment-2167053243 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 June 2024 01:35:30 UTC