- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 06 Mar 2024 18:01:39 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-contain][css-anchor-position-1] Should size/layout containment also contain anchor names?`, and agreed to the following: * `RESOLVED: Layout containment contains anchor names and size containment/paint containment do not` <details><summary>The full IRC log of that discussion</summary> <keithamus> TabAtkins: already in spec that style containment triggers containment of anchor names<br> <keithamus> TabAtkins: should other containments have this? Layout containment should for the same reason that it censors baselines. If it didn't you'd have to do layout in the subtree.<br> <keithamus> TabAtkins: defeats point of containment<br> <keithamus> TabAtkins: size containment should depend on children size and layout children etc. No guarantees are made about being able to defer work on layout containment<br> <keithamus> TabAtkins: size containment should not scope anchor names<br> <emilio> q+<br> <keithamus> TabAtkins: we use size containment as a cycle breaker a lot.<br> <miriam> q+<br> <keithamus> TabAtkins: scoping it means you wouldnt be able to use container queries and anchor names on the same page.<br> <keithamus> TabAtkins: paint containment doesn't for the same reason<br> <astearns> ack emilio<br> <keithamus> emilio: I guess scoping would work both inside and outside right?<br> <keithamus> TabAtkins: no<br> <keithamus> emilio: so some kind of named scoping? I don't see how they change the constraints?<br> <keithamus> emilio: if a name bleeds inside a layout contained thing...<br> <keithamus> emilio: does layout containment also scope counter names and so on?<br> <keithamus> TabAtkins: no and it shouldn't. You dont need to do layout for counter names, just box tree.<br> <keithamus> emilio: I was just confused about what point and where in the dependency tree<br> <astearns> ack miriam<br> <keithamus> miriam: container queries add layout containment as well. Even if we restrict on layout containment we still have problems on how these two interact.<br> <keithamus> miriam: you cant use anchoring across different containers<br> <keithamus> futhark: you can't anchor something inside the size container outside, or vice versa<br> <keithamus> TabAtkins: regardless if we allowed names to leak out of layout containment it defeats the point of layout containment.<br> <keithamus> TabAtkins: I think it's still a requirement that layout containment scopes the values<br> <keithamus> miriam: should we open a new issue to resolve how these two interact?<br> <keithamus> astearns: a developer need to use these across boundaries trumps the need for good optimisations<br> <keithamus> chrishtr: resolve this then raise new issue?<br> <keithamus> astearns: yes resolve this issue and then work out how it interacts, revisit it if it turns out there's a need to anchor across boundaries<br> <keithamus> astearns: did futhark's remarks change your position TabAtkins?<br> <keithamus> TabAtkins: same. It only matters for style queries<br> <keithamus> futhark: no it's also generated compute from... layout on outside<br> <keithamus> TabAtkins: that's not in the spec right now as far as I can tell<br> <keithamus> futhark: yes, container type size also applies layout, size, containment<br> <keithamus> futhark: this is not a problem specific to layout containment, also style containment...<br> <keithamus> TabAtkins: okay. Let's discuss that in the new issue<br> <keithamus> PROPOSED RESOLUTION: Layout containment contains anchor names<br> <keithamus> PROPOSED RESOLUTION: Layout containment contains anchor names and size containment/paint containment do not<br> <keithamus> RESOLVED: Layout containment contains anchor names and size containment/paint containment do not<br> <keithamus> TabAtkins: I have an anchor breakout session in the w3 breakout sessions to resolve the remaining issues. Provisional time slot for now.<br> <keithamus> astearns: we can use that session for a wider audience hopefully<br> <keithamus> fantasai: those breakouts are for across w3. So we want to resolve issues on our own, but discuss stuff with the broader community in the breakout<br> <keithamus> TabAtkins: I thought it was the same as TPAC wednesday.<br> <keithamus> astearns: we'll figure out some extra meeting times.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9349#issuecomment-1981484044 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 6 March 2024 18:01:41 UTC