Created
April 23, 2014 19:43
-
-
Save Westbrook/11229624 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
%extended { | |
border: none; | |
} | |
%extend { | |
width: 100%; | |
.child { | |
@extend %extended; | |
padding: 10px; | |
} | |
} | |
.extend { | |
@extend %extend; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.extend { | |
border: none; } | |
.extend { | |
width: 100%; } | |
%extend .extend { | |
padding: 10px; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here we see the Libsass processor fail in applying the selector .extend .child to the .child element of the extended parent, %extend .extend (ln 6 ...output.css) in applied instead.
When extending another placeholder class with that child, an alternate errant selector is then passed along and applied as .extend (ln 1 ...output.css) instead of .extend .child.