- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Apr 2025 15:36:22 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `::slotted() should full support complex selector!!`. <details><summary>The full IRC log of that discussion</summary> <TabAtkins> lea: representing this since it's opened by a non-member<br> <TabAtkins> lea: since ::slotted() only does compound selectors, it imposes constraints on the markup that aren't good for a11y, seo, etc. forces a shallower structure than is ideal<br> <TabAtkins> lea: in many cases you ahve new components thata re just a div, but that way you have logic and styling in them. <carous-el> and <carous-el-item><br> <TabAtkins> lea: lots of instances of this, parent control and dummy child control, just to get ::slotted access<br> <TabAtkins> lea: so lots of people confused<br> <TabAtkins> lea: usual pushback is hard to implement<br> <TabAtkins> lea: and pushback against ::slotted() a combinator is it doesn't support complex selectors<br> <TabAtkins> lea: think we'll need to do that at some point anyway, and then we'll have a pseudo-element with complex selectors, which is worse<br> <TabAtkins> lea: so i think this adds to the pile of reasons slotted should be a combinator (not to beat a dead horse)<br> <TabAtkins> lea: i hear the arguments about not breaking encapsulation, don't want a component tos tyle light dom... i disagree, but i get them<br> <TabAtkins> lea: but for things inside the component's own light-dom subtree, it's arbitrary to say they can style their direct chidlren but not descendants<br> <TabAtkins> lea: like how would we do <tab-el>? or <s-el-ect>?<br> <TabAtkins> astearns: in your comments you said usual complaint is hard to implement. i think keith put this on here to ask<br> <TabAtkins> TabAtkins: do we want to delay until Emilio returns, then?<br> <TabAtkins> ntim: i wanna hear from Ryosuke as well<br> <TabAtkins> astearns: so maybe we can take this up... would this be okay to take up in the Forms TF? can we get ryosuke to join that?<br> <TabAtkins> ntim: how is that forms related...<br> <TabAtkins> astearns: so we're closing this with "i dunno" for now<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2425#issuecomment-2776209330 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 April 2025 15:36:23 UTC