Re: [csswg-drafts] [css-ui] Should `::picker(select)` match `:popover-open`? (#10775)

I think requiring `:popover-open` to match would very much go against our earlier decision not to reuse `::part()`. Whether or not `::picker(select)` points to an HTML element with a `popover` attribute set is an implementation detail. If implementations want to implement `::picker(select)` without an element node they should be allowed to do that. `::picker(select)` needs to behave like popovers in a number of respects, but it shouldn't be required to use the exact same mechanism underneath.

Now I suppose we could update the `:popover-open` requirements to say that `::picker(select)` also needs to be matched, but that seems kinda pointless to me given that we already plan to add `:open` to `select` elements.

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


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

Received on Monday, 26 August 2024 07:19:34 UTC