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

extend does not extend all values #3162

Open
dracos opened this issue Aug 23, 2021 · 0 comments
Open

extend does not extend all values #3162

dracos opened this issue Aug 23, 2021 · 0 comments

Comments

@dracos
Copy link

dracos commented Aug 23, 2021

input.scss

.one {
  color: red;
  .foo, .bar { color: yellow; }
  &, &:link, &:visited { color: green; }
  &:hover { color: blue; }
}
.two {
  @extend .one;
}

Actual results

libsass 3.6.5

.one, .two {
  color: red; }
  .one .foo, .two .foo, .one .bar, .two .bar {
    color: yellow; }
  .one, .two, .one:link, .one:visited {       
    color: green; }
  .one:hover, .two:hover {
    color: blue; }

Expected result

ruby sass 3.7.4

.one, .two {
  color: red; }
  .one .foo, .two .foo, .one .bar, .two .bar {
    color: yellow; }
  .one, .two, .one:link, .two:link, .one:visited, .two:visited {
    color: green; }
  .one:hover, .two:hover {
    color: blue; }

version info:

libsass-python 0.21.0 [Python]
libsass 3.6.5   (Sass Compiler) [C/C++]
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

No branches or pull requests

1 participant