Re: [csswg-drafts] [css-anchor-position] Flat tree vs. anchor-scope (#10325)

The CSS Working Group just discussed `[css-anchor-position] Flat tree vs. anchor-scope`, and agreed to the following:

* `RESOLVED: "Like most operations in CSS besides selector matching, features in this specification operate over the flattened element tree." goes to anchor positioning spec.`

<details><summary>The full IRC log of that discussion</summary>
&lt;khush> andruud: the anchor-scope in the spec says it's scoped to this "subtree". flat tree or something else. matters for slotted. and i propose flat tree otherwise you can't style an element with ::slotted pseudo-element as an anchor.<br>
&lt;khush> andruud: if we don't use flat tree it's going to look for its anchor scope outside the shadow tree<br>
&lt;khush> Elika had an opinion on the exact wording<br>
&lt;khush> fantasai: idk if I understand the basic issue. i was concerned that we don't imply which tree here and other parts of the spec are ambigupus<br>
&lt;khush> just clarify that unless other specified the whole spec is operating on the flat tree<br>
&lt;khush> if we don't state this somewhere then its implied<br>
&lt;khush> astearns: agreed<br>
&lt;khush> somebody might skip that part and make assumptions about which tree rest of the spec is on<br>
&lt;khush> fantasai: in general css works on the flat tree. so this is more of a reminder<br>
&lt;khush> andruud: so already interpret it as a flat tree<br>
&lt;khush> astearns: is it extra work required at all?<br>
&lt;khush> astearns: proposed resolution is to add a normative statement to the anchor spec. Features in this spec operate over the flattened tree.<br>
&lt;khush> fantasai: there's wording i was suggesting to copy over from timeline lookups<br>
&lt;fantasai> "<br>
&lt;fantasai>     Like most operations in CSS besides selector matching, features in this specification operate over the flattened element tree.<br>
&lt;fantasai> "<br>
&lt;khush> astearns: any concerns?<br>
&lt;khush> astearns: objections?<br>
&lt;khush> RESOLVED: "Like most operations in CSS besides selector matching, features in this specification operate over the flattened element tree." goes to anchor positioning spec.<br>
&lt;khush> astearns: good clarification to add<br>
&lt;khush> fantasai: most in case there are other exceptions<br>
&lt;iank_> sorry cant scribe - playing with solvents<br>
</details>


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


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

Received on Wednesday, 3 July 2024 23:37:28 UTC