- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 18 Jun 2024 15:50:08 +0000
- To: public-css-archive@w3.org
> @kizu @LeaVerou What would be the correct grammar for “ternary delimited” conditions, as it appears the syntax would be closer to the below: > > ```css > * { > --prop: if(style(--x: 'one') ? 1 : style(--x: 'two') ? 2 : 3); > } > ``` > > Would that use a `#` or `+` if we’re not delimiting expressions by commas or semicolons? Ah good point, my grammar was incorrect. It would be more like `if( [ <condition> ? <if-true> : ]+ <if-false>)` -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10064#issuecomment-2176432470 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 18 June 2024 15:50:09 UTC