Re: [csswg-drafts] [css-ui] Pseudo-elements for checkmark and dropdown icon for appearance:base `<select>` (#10908)

Not sure where the IRC notes went, but this was in them:

> ACTION: jarhar to open an issue to determine if pseudo elements (yet to be named) are tree-like or element-like

I think they should be "tree-like" according to this sentence.

It sounded like there was an issue raised about the CSS spec itself not being well defined enough for us to add a pseudo-element for this, and that we should be consistent between the new pseudo-elements we are adding like ::picker and this thing.

I think that ::picker should be "part-like" or "element-backed" because it is a real element in the UA shadowroot which has a popover attribute and a slot inside it to slot child nodes of the select into.

These new elements are intended to replace the ::before and ::after rules I proposed, and all they do is render what we want to put in the content property, so they should not be part-like or element-backed.

I don't understand the concern that these aren't defined well enough. ::picker is an [element-backed pseudo-element](https://drafts.csswg.org/css-forms-1/#picker-pseudo). Is this not well defined?

These new pseudo-elements should be "fully stylable pseudo-elements", [just like ::before and ::after](https://drafts.csswg.org/css-pseudo/#generated-content). This also seems very well defined to me. 

-- 
GitHub Notification of comment by josepharhar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10908#issuecomment-2435737267 using your GitHub account


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

Received on Thursday, 24 October 2024 16:26:49 UTC