W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

Re: [csswg-drafts] [css-contain-3] Need style containment for container queries (#6213)

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 May 2021 16:26:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-839919034-1620836806-sysbot+gh@w3.org>
The CSS Working Group just discussed `[css-contain-3] Need style containment for container queries`, and agreed to the following:

* `RESOLVED: Style containment will be required in order to establish a queryable container`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-contain-3] Need style containment for container queries<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/6213<br>
&lt;dael> rune: Brought up in connection with container queries. Counter in a container with cont/ queries the counter changes there can effect counter after and effect layout. In particular with flexbox, but other types too. Creates circularity without style containment<br>
&lt;dael> florian: I think you've proven the circularity. Can break with style containment. I'm in favor<br>
&lt;dael> florian: Only concent I have is circularity is real, but not something you'd expect authors to typically do<br>
&lt;dael> rune: probably not<br>
&lt;dael> florian: Suspecting this is a rare weird thing to do. Wondering if always apply style containment is more downsides then another way to cut the loop<br>
&lt;dael> rune: If you have a counter which is used per container having style containment on the container means you can't increment across multi components<br>
&lt;dael> astearns: Motivation for solving circularity in another way is if there is a use case for not having a style containment on container queries for a non-counter related reason. Don't know if there is one<br>
&lt;dael> rune: If you don't have style containment can have hard to get interop in this edge case. Number of ways layout will effect result<br>
&lt;dael> florian: I think I withdraw suggestion for alternatives. Problem is real and your solution is the obvious<br>
&lt;dael> rune: If you have style cotnainment on container you can increment. Just not inside the container. If you have orphans with the container it will work<br>
&lt;dael> astearns: miriam are you okay req. style containment on continaer queries?<br>
&lt;dael> miriam: Yeah. A little downside but not very big<br>
&lt;dael> astearns: Prop: Style containment will be required in order to establish a queriable container<br>
&lt;dael> RESOLVED: Style containment will be required in order to establish a queryable container<br>
</details>


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 May 2021 16:26:51 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC