Re: [csswg-drafts] [css-contain] Allow container query style features to evaluate in a boolean? (#8127)

What is `@container(--var)` if we have `--var: false`?

It's kind of funky, but according to how we're discussing this, I would expect `@container(--var)` to return **true** since `--var` is defined, and would by default be a string value. It looks like this shouldn't conflict with `@property`-defined CSS custom properties either, considering boolean isn't an available [syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/@property/syntax) type (correct me if I'm wrong because that would then be an issue).

But because of this confusion ^ we should define if this is a **"presence" query** or if this a **boolean query** and discuss it as such.

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


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

Received on Tuesday, 7 February 2023 17:44:07 UTC