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

Discrepancy between Ruby and LibSass when nesting Sass ampersand (&) in child selector (>) #1601

Closed
pat270 opened this issue Oct 16, 2015 · 0 comments

Comments

@pat270
Copy link

pat270 commented Oct 16, 2015

The code below passes in Libsass 3.2.5, but throws Invalid parent selector for "&.ruby": ".code.ruby >" in Ruby 3.4.14. See http://sassmeister.com/gist/36486158ba84062cd13f.

.code.ruby > {
    &.ruby {
        color: green;
    }
}
@mgreter mgreter self-assigned this Oct 17, 2015
mgreter added a commit to mgreter/libsass that referenced this issue Oct 17, 2015
- Implements `to_string` for all selector types
- Adds `InvalidParent` and refactors exceptions
- Add error on invalid parentize operation

Fixes sass#1601
mgreter added a commit to mgreter/libsass that referenced this issue Oct 17, 2015
- Implements `to_string` for all selector types
- Adds `InvalidParent` and refactors exceptions
- Add error on invalid parentize operation

Fixes sass#1601
mgreter added a commit to mgreter/libsass that referenced this issue Oct 18, 2015
- Implements `to_string` for all selector types
- Adds `InvalidParent` and refactors exceptions
- Add error on invalid parentize operation

Fixes sass#1601
@xzyfer xzyfer added this to the 3.3.1 milestone Oct 18, 2015
mgreter added a commit to mgreter/libsass that referenced this issue Oct 18, 2015
- Implements `to_string` for all selector types
- Adds `InvalidParent` and refactors exceptions
- Add error on invalid parentize operation

Fixes sass#1601
Fixes sass#1606
mgreter added a commit to mgreter/libsass that referenced this issue Oct 18, 2015
- Implements `to_string` for all selector types
- Adds `InvalidParent` and refactors exceptions
- Add error on invalid parentize operation

Fixes sass#1601
Fixes sass#1606
@xzyfer xzyfer modified the milestones: 3.3.1, 3.3.2 Oct 26, 2015
mgreter added a commit to mgreter/libsass that referenced this issue Nov 1, 2015
- Implements `to_string` for all selector types
- Adds `InvalidParent` and refactors exceptions
- Add error on invalid parentize operation

Fixes sass#1601
Fixes sass#1606
zauberstuhl pushed a commit to diaspora/jsxc that referenced this issue Nov 26, 2015
zauberstuhl pushed a commit to zauberstuhl/jsxc that referenced this issue Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants