Re: [csswg-drafts] [css-ui] Pseudo-elements for stylable select (#10462)

The CSS Working Group just discussed `[css-ui] Pseudo-elements for stylable select`.

<details><summary>The full IRC log of that discussion</summary>
&lt;gregwhitworth> jarhar0: we spoke about the shadowroot structure of the select element and we want to target them with the psuedo selects<br>
&lt;gregwhitworth> jarhar0: this is a proposal to use pseudo elements to target the fallback element or one that is supplied by the author<br>
&lt;gregwhitworth> jarhar0: I spoke with emilio about this before and it can target both author and shadow and CSS you can target the same element there was concern<br>
&lt;gregwhitworth> jarhar0: you can target them as pseudo elements and regular elements<br>
&lt;gregwhitworth> jarhar0: make it so that the pseudo elements don't target the author elements<br>
&lt;gregwhitworth> emilio: there are a fair amount of APIs that will need to cope with this and not make it really complicated and we'll get it wrong and things will be incosistent<br>
&lt;gregwhitworth> emilio: let's start with nothing too special or an alternative like animations don't expose nodes that are shadow parts<br>
&lt;gregwhitworth> emilio: we ideally would be able to solve that but if you're observing it from the outside it's a part, if you're in the tree you observe it like normal. We can do something like that<br>
&lt;ntim> q+<br>
&lt;gregwhitworth> emilio: we have a resolution to do more part() type psuedos and make them behave like shadow parts<br>
&lt;gregwhitworth> emilio: we don't expose a reference to them like other elements and then we can kick down the road to expose them in these APIs. Which honestly I've never seen anyone complain about that and you can put the datalist in the light tree if you want<br>
&lt;gregwhitworth> emilio: I haven't thought through all of the implications and I don't think we have a definition of this part "like" element for this<br>
&lt;gregwhitworth> emilio: effectively we won't hit that kind of problem<br>
&lt;ntim> q-<br>
</details>


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


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

Received on Thursday, 25 July 2024 16:03:48 UTC