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

Negative selectors (again) #7

Closed
alehandrof opened this issue Dec 10, 2014 · 5 comments
Closed

Negative selectors (again) #7

alehandrof opened this issue Dec 10, 2014 · 5 comments
Labels

Comments

@alehandrof
Copy link

On Ubuntu 14.04 with Sass 3.4.9 the syntax for negative selector is invalid.

This is the error when attempting to compile the example scsscheme:

Error: Invalid CSS after "&.name ": expected selector, was "'-' &.name.tag"
        in Example SCSScheme.scsscheme on line 100
@FichteFoll
Copy link
Owner

Probably a change in the SASS parser. Need to think of a different way to enable negative selectors.

@FichteFoll FichteFoll added the bug label Dec 10, 2014
@alehandrof
Copy link
Author

Not sure if this helps but &.name\ -\ &.name.tag validates and outputs the same in the XML (&.name\ -\ &.name.tag). Is remove the escaping backslashes a possibility?

@FichteFoll
Copy link
Owner

Yes, this is pretty much what I did before but it reads weird and is probably not optimal. I can't experiment with this now however as I'm too busy with other things.

@alehandrof
Copy link
Author

That's fine, no worries :)

@alehandrof
Copy link
Author

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants