Skip to content

add spec for trimming super selectors in @extend (pt. 2)#1872

Merged
nex3 merged 4 commits intosass:mainfrom
connorskees:extend-removes-super-selectors
Jan 30, 2023
Merged

add spec for trimming super selectors in @extend (pt. 2)#1872
nex3 merged 4 commits intosass:mainfrom
connorskees:extend-removes-super-selectors

Conversation

@connorskees
Copy link
Contributor

revives #1680, closes #1678

@connorskees
Copy link
Contributor Author

It seems trimming has changed since the original PR was opened. This test case will now generate

a b, a > b {
   color: red;
 }

Should the expected output be modified, or would this be considered an issue with dart-sass? The a > b seems redundant.

@nex3 nex3 self-requested a review January 24, 2023 23:20
@nex3
Copy link
Contributor

nex3 commented Jan 24, 2023

That does look like a bug in Dart Sass. Can you file an issue there and mark this spec as TODO for now?

@nex3 nex3 merged commit 7e22918 into sass:main Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Additional test case for @extend

2 participants