- From: Benoît Rouleau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Jun 2024 14:32:43 +0000
- To: public-css-archive@w3.org
Here's an alternative proposal that doesn't require having an if-false value in the function at all: ```css background: --if-false; background: if(style(--override-bg: true), --if-true); ``` The second declaration would be considered invalid if the `if()` evaluates to false, falling back to the previous declaration. Maybe that feels more CSSy? -- GitHub Notification of comment by benface Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10064#issuecomment-2168175834 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 14:32:44 UTC