- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Feb 2022 00:31:31 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-contain-3] Container Queries and pseudo elements`, and agreed to the following: * `RESOLVED: Accept proposal to in all cases use originating element` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-contain-3] Container Queries and pseudo elements<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/6711<br> <dael> rune: I wanted to take issues 4 & 6 at same time. Hvae prop for both<br> <dael> rune: Easy to explain for psuedo elements. When on selectors the originating element is closest query container<br> <dael> rune: Spec currently doesn't say anything about pseudo elements<br> <dael> rune: For issue with shadow dom prop is establish query container as the shadow including and having the originating element of the select be the first one poss to query<br> <dael> rune: Prop is in the shadow dom issue for that<br> <dael> rune: There's the explaination for how this fits with slotted, before, after, etc<br> <miriam> this comment: https://github.com/w3c/csswg-drafts/issues/5984#issuecomment-980694443<br> <dael> rune: TabAtkins do you have a better way to explain?<br> <dael> TabAtkins: All in all 3 cases to worry about. first is ordinary tree abiding before and after. That's simple, originating element. Act like they're children already<br> <Rossen_> s/rune/futhark/<br> <Rossen_> q?<br> <dael> TabAtkins: 2nd is shadow dom like ::part. Refers to element in shadow, but originates in host. If there are query containers between them will they be seen? We believe no b/c would expose internal details of the shadow.<br> <dael> TabAtkins: If users want to query on the dom they see, they won't get that<br> <dael> TabAtkins: Again use originating element<br> <dael> TabAtkins: Final is non-tree like first-line and first-letter.<br> <dael> TabAtkins: Example where div for first-letter is used. Actual markup is a <p> that's a query container. I think again this is not seen b/c otherwise exposes where in the tree the non-abiding pseudo is. We've keep them away from answering for various reasons<br> <dael> TabAtkins: By saying for purpose of query containers we use the originating element and skip the <p> it's nice and simple<br> <dael> TabAtkins: IN all cases use originating element. Straightforward and easy to understand<br> <dael> fantasai: I think proposal makes sense.<br> <dael> futhark: one thing not sure about is multiple pseudo. What's the originating. div before marker. Is the originating of the marker before?<br> <dael> futhark: Attempted to spec final originating element<br> <dael> fantasai: Yes. Term is ultimate originating element<br> <dael> TabAtkins: And agree that's what we want to use<br> <dael> Rossen_: Hearing agreement<br> <dael> Rossen_: Anything we're missing here? Other opinions?<br> <dael> Rossen_: Obj to accept this proposal?<br> <dael> RESOLVED: Accept proposal to in all cases use originating element<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6711#issuecomment-1028487865 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 February 2022 00:31:33 UTC