Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move unknown pseudo elements outside of :is #11345

Merged
merged 2 commits into from Jun 8, 2023

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Jun 2, 2023

We did a lot of refactoring previously to handle ::deep, ::ng-deep, and ::v-deep. However, we also made the decision to preserve the position of unknown pseudo elements.

This has resulted in a bit too much churn. So we're hardcoding the list ::deep, ::ng-deep, and ::v-deep for now. We do still, however, consider unknown pseudo elements to be "actionable" — meaning they can have user-action pseudo-classes attached to them. We will move the pseudo element and attached classes as a group when moving elements.

Fixes #11331

@thecrypticace thecrypticace changed the title Ensure more pseudo elements are moved outside of :is Move more pseudo-elements outside of :is Jun 2, 2023
@thecrypticace thecrypticace changed the title Move more pseudo-elements outside of :is Move unknown pseudo elements outside of :is Jun 8, 2023
@thecrypticace thecrypticace merged commit e51b09c into master Jun 8, 2023
10 checks passed
@thecrypticace thecrypticace deleted the fix/move-more-pseudos branch June 8, 2023 19:00
thecrypticace added a commit that referenced this pull request Jul 13, 2023
* More pseudo elements outside of `:is` by default

* Update changelog
thecrypticace added a commit that referenced this pull request Jul 13, 2023
* More pseudo elements outside of `:is` by default

* Update changelog
thecrypticace added a commit that referenced this pull request Jul 13, 2023
* More pseudo elements outside of `:is` by default

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant