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

The CSS Working Group just discussed `[css-contain-3] Need style containment for container queries`.

<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> iank_: Rune constructed some cases, linked in issue, with counters which would cause circularity<br>
&lt;dael> iank_: Way counters work is they walk all over dom tree. With this example constructed a circularity. We think style containment is required for container queries to work<br>
&lt;dael> iank_: Didn't read example in depth to explain how it's circular. If people are happy with Rune expertise.<br>
&lt;dael> astearns: We can believe him<br>
&lt;dael> florian: No problem believing him. But I think we had said style cotnainment was odd and need to get back to it<br>
&lt;dael> iank_: I think style containment main is scoping counters<br>
&lt;dael> florian: Yes, and quotations<br>
&lt;dael> iank_: I think, even that statment that counters can prop outside the subtree it's clear you get circularities<br>
&lt;dael> astearns: Is style cotnainment impl?<br>
&lt;dael> florian: Yes in Chrome<br>
&lt;dael> florian: Can't remember if FF impl<br>
&lt;dael> dholbert: Not in FF. Work in progress patch where emilio had objections about usefulness being debatable. I'd lean to wait until emilio is on. I can point him to the issue<br>
&lt;dael> dholbert: I think he has strong opinions. Maybe he wanted a motivating use case. Perhaps this is the one<br>
&lt;dael> iank_: Agree with emilio. This is use case that makes it useful. We could tentatively resolve now or wait for emilio on next call<br>
&lt;dael> florian: Either way, not last time we'll talk. Given obj from emilio we stopped on style cotnainment and kept going on the rest. If we start requiring it we'll look closer and find other things to change<br>
&lt;miriam> https://github.com/w3c/csswg-drafts/issues/6174<br>
&lt;dael> astearns: Understand complexity to impl. Seems like one of the objections to style containment is why would anyone use it. Wonder if it makes sense to fold in effect os style cotnainment to existing contain values b/c gets better containment and avoid circularity. Or a specific value for container queries that has this contained<br>
&lt;dael> miriam: That gets to issue 6174<br>
&lt;dael> miriam: Not on the agenda, but if we need style containment it's more argument to come up with new syntax. Happy to work with anybody that wants to work on it<br>
&lt;dael> iank_: Maybe path is ask emilio if he objects to style containment as a concept given these examples and then separate discussion about what sort of short hand do we want with miriam issue about container query style containment<br>
&lt;dael> astearns: Anything else before we kick it back to issue?<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-833121951 using your GitHub account


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

Received on Wednesday, 5 May 2021 23:54:03 UTC