-
Notifications
You must be signed in to change notification settings - Fork 464
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
multiple nth-child selector with @extend inside only complies the first one #1729
Comments
Spec added sass/sass-spec#609 |
Bare bone spec would be: %place-to-go {
font-size: 1em;
}
:nth-child(1){
@extend %place-to-go;
}
:nth-child(2){
@extend %place-to-go;
}
:nth-child(3){
@extend %place-to-go;
} |
1 task
Spec test I used to check my implementation: %place-to-go {
font-size: 1em;
}
a::foo(1){
@extend %place-to-go;
}
a::foo(2){
@extend %place-to-go;
}
b::foo(1){
@extend %place-to-go;
}
b::foo(2){
@extend %place-to-go;
}
:bar(1){
@extend %place-to-go;
}
:bar(2){
@extend %place-to-go;
}
:bar(3){
@extend %place-to-go;
}
[foo]{
@extend %place-to-go;
}
[bar]{
@extend %place-to-go;
}
[baz]{
@extend %place-to-go;
}
[bar="1"]{
@extend %place-to-go;
}
[bar="2"]{
@extend %place-to-go;
}
[bar="3"]{
@extend %place-to-go;
} |
xzyfer
added a commit
to xzyfer/sass-spec
that referenced
this issue
Dec 3, 2015
This PR activates specs for sass/libsass#1729
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
example
expected
result
The text was updated successfully, but these errors were encountered: