Skip to content

Conversation

@thecrypticace
Copy link
Contributor

This improves canonicalization of arbitrary variants that use pseudo classes a bit.

Before this we would see [&_:first-child]:flex and leave it be when it can instead be written as **:first:flex. Likewise, for pseudo classes that don't have a variant, we can still simplify things a bit as [&_:--custom] can be written **:[:--custom].

@thecrypticace thecrypticace requested a review from a team as a code owner October 22, 2025 11:41
@thecrypticace thecrypticace force-pushed the feat/canonicalize-more-stars branch from 259bbb9 to 934b2d0 Compare October 22, 2025 11:46
Base automatically changed from fix/canonical-double-star to main October 22, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants