Re: [csswg-drafts] [css-values-5] Allow `if()` in descriptors (#11941)

Yup, allowing `if()` in here makes a lot of sense to me, with the restriction that `style()` queries are always false (as there's no element to look up values from) unless they've got constant values on both sides.

Agenda+ to ask about approving that for general usage. (And while we're at it, making sure that `env()` also works in all descriptors. That's certainly the intent.)

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


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

Received on Wednesday, 18 June 2025 20:04:57 UTC