Re: [csswg-drafts] [css-values-5] What is the MVP for inline conditionals on custom properties? (#10064)

That is orthogonal, since even if it returns an empty token stream it can make the resulting property IACVT. E.g. this would work fine with the empty token stream behavior:

```css
border-radius: if (style(--pill) ? calc(infinity) ) !revertable;
```

But it means something like this is possible too, without having to explicitly specify an empty fallback:

```css
background: if (style(--skeuomorphic)? var(--texture)) var(--color) ;
```

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


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

Received on Monday, 24 June 2024 17:13:14 UTC