- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Thu, 02 Apr 2026 17:13:55 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-view-transitions-1] Can we make the `::view-transition-old` and `::view-transition-new` pseudos “:has-allowed pseudo-element”s?``. <details><summary>The full IRC log of that discussion</summary> <TabAtkins> vmpstr: i'm a little outside of my depth for this issue<br> <TabAtkins> vmpstr: it's about allowing the vt-pseudos to be part of the ":has-allowed pseudo-element" category<br> <TabAtkins> vmpstr: bramus would like it<br> <TabAtkins> vmpstr: I think there's some structural issues<br> <TabAtkins> vmpstr: the VT pseudos are not direct pseudos of the root<br> <TabAtkins> vmpstr: we have some syntactic sugar where we flatten and you can select as if they were<br> <TabAtkins> vmpstr: so I think :has() gets confusing when you consider that<br> <TabAtkins> vmpstr: writing ::view-transition-group:has(::view-transition-old:only-child)... not how you'd parse that<br> <TabAtkins> vmpstr: need to write :root:has(::view-transition-old:only-child)::view-transition-group<br> <TabAtkins> vmpstr: dbaron commented this would be the first :has-allowed pseudo<br> <TabAtkins> dbaron: we defined this category but it's not especially useful until we invent a combinator people can actually use for it<br> <TabAtkins> dbaron: :has() doesn't have a way to say "does *this* element has this pseudo-element<br> <TabAtkins> dbaron: we have syntax for a *child* with this pseudo, but not with *this* element<br> <TabAtkins> the = combinator rides again<br> <emilio> +q<br> <TabAtkins> dbaron: maybe we make it the default<br> <TabAtkins> dbaron: but either way I don't think it's ready quite yet<br> <TabAtkins> ack emilio<br> <emilio> +1<br> <TabAtkins> astearns: is there a list of :has-allowed pseudos?<br> <TabAtkins> dbaron: we have a concept, zero elements there yet<br> <TabAtkins> astearns: are vt-pseudos the likeliest first for this?<br> <TabAtkins> emilio: I think the VT ones are fairly complicated<br> <TabAtkins> emilio: they're also... you're not asking if an element has a pseudo, you're asking if a pseudo has another pseudo in it<br> <TabAtkins> emilio: that raises issues about what you can put in :has()<br> <dbaron> https://github.com/w3c/csswg-drafts/issues/11856<br> <TabAtkins> dbaron: Luke opened an issue on ::file-selector-button being allowed, that's an easier one to start with<br> <TabAtkins> astearns: so I suggest we defer until we've come up with an acceptable solution for something easier<br> <TabAtkins> TabAtkins: +1<br> <TabAtkins> vmpstr: sounds fine<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12630#issuecomment-4179268775 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 April 2026 17:13:56 UTC