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

The CSS Working Group just discussed `[css-contain] Allow container query style features to evaluate in a boolean?`, and agreed to the following:

* `RESOLVED: style queries can accept properties in boolean context; false if matches initial value, true otherwise`

<details><summary>The full IRC log of that discussion</summary>
&lt;emeyer> miriam: Container query style features can query custom properties, so the question is, can you query without the value to see if it has initial value<br>
&lt;emeyer> …Thus getting true or false back<br>
&lt;emeyer> …False if it’s the default value, true if it’s changed<br>
&lt;Rossen_> q?<br>
&lt;fantasai> sgtm<br>
&lt;fremy> +1<br>
&lt;lea> +1 obvs<br>
&lt;emeyer> dholbert: Would anything special be needed for Houdini registered properties?<br>
&lt;emeyer> miriam: Yes, you’d be checking to see if it’s the initial value, by default that would be the guaranteed value<br>
&lt;TabAtkins> s/guaranteed value/guaranteed-invalid value/<br>
&lt;emeyer> Rossen: Any questions or objections?<br>
&lt;emeyer> (silence)<br>
&lt;fantasai> RESOLVED: style queries can accept properties in boolean context; false if matches initial value, true otherwise<br>
</details>


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


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

Received on Wednesday, 22 March 2023 16:17:43 UTC