Skip to content
New issue

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

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

Already on GitHub? # to your account

Extending a placeholder from a media query outputs nothing #2150

Closed
whaaaley opened this issue Aug 16, 2016 · 0 comments
Closed

Extending a placeholder from a media query outputs nothing #2150

whaaaley opened this issue Aug 16, 2016 · 0 comments

Comments

@whaaaley
Copy link

whaaaley commented Aug 16, 2016

input.scss

@media (min-width: 100px) {
  .parent > %child {
    color: blue;
  }
}

.foo {
  @extend %child;
}

[libsass 3.5.5]

ruby sass 3.4.21

@media (min-width: 100px) {
  .parent > .foo {
    color: blue;
  }
}

Spec added sass/sass-spec#894

@whaaaley whaaaley changed the title Extending a placeholder defined in a media query outputs nothing Extending a placeholder from a media query outputs nothing Aug 16, 2016
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Aug 23, 2016
@xzyfer xzyfer added this to the 3.4.1 milestone Sep 8, 2016
mgreter added a commit to mgreter/libsass that referenced this issue Sep 24, 2016
Change implementation to always query the AST tree.
Fixes sass#2150
mgreter added a commit to mgreter/libsass that referenced this issue Sep 24, 2016
Change implementation to always query the AST tree.
Fixes sass#2150
@mgreter mgreter modified the milestones: 3.3.7, 3.4.1 Sep 25, 2016
@mgreter mgreter self-assigned this Sep 25, 2016
@xzyfer xzyfer modified the milestones: 3.3.7, 3.4 Oct 20, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants