You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started playing around with the View Transition API, which allows selectors that are a little novel, such as ::view-transition-group:has(::view-transition-new(*):only-child).
However, when trying to run minification on my styles, an error is thrown:
Invalid pseudo class after pseudo element, only user action pseudo classes (e.g. :hover, :active) are allowed (via SyntaxError)
Hi there,
I've started playing around with the View Transition API, which allows selectors that are a little novel, such as
::view-transition-group:has(::view-transition-new(*):only-child)
.However, when trying to run minification on my styles, an error is thrown:
Here is a simple demo to reproduce it:
The parser would seem to need new logic to allow pseudo-classes attached to pseudo-elements as this is now a valid use-case.
Thank you!
The text was updated successfully, but these errors were encountered: