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

fix: structure mode pseudo-element selector definition bug #2889

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

idoros
Copy link
Collaborator

@idoros idoros commented Jul 12, 2023

This PR fixes a missed case for pseudo-element resolve/transform.

The case happens when a class with internal pseudo-elements extend another class with internal parts.
Then when extending the top class in another stylesheet, the resolver doesn't progress the current meta, and instead resolved the origin stylesheet meta (see test).

make resolver move the current meta to next "parent" extend, instead of wrongly picking the origin meta
@idoros idoros added bug Unexpected behavior or exception core Processing and transforming logic labels Jul 12, 2023
@idoros idoros requested a review from barak007 July 12, 2023 11:55
@idoros idoros self-assigned this Jul 12, 2023
@idoros idoros merged commit 313103c into master Jul 13, 2023
18 checks passed
@idoros idoros deleted the ido/fix-structure-mode-extends branch July 13, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior or exception core Processing and transforming logic
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants