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

Support &-suffix #1055

Closed
nex3 opened this issue Dec 20, 2013 · 2 comments
Closed

Support &-suffix #1055

nex3 opened this issue Dec 20, 2013 · 2 comments
Labels
enhancement New feature or request planned We would like to add this feature at some point
Milestone

Comments

@nex3
Copy link
Contributor

nex3 commented Dec 20, 2013

@chriseppstein and I have decided that, given that @at-root #{&}-suffix doesn't work as well as we'd hoped, it's worth the downsides to support &-suffix on its own.

This should throw an error if it generates an invalid selector. This error should be clear about how that selector was constructed from the source code.

@xzyfer
Copy link

xzyfer commented Dec 20, 2013

Does this mean the @at-root directive is being dropped, or simply the need to use interpolation on & ?

edit already answered https://gist.github.com/nex3/8050187

@nex3
Copy link
Contributor Author

nex3 commented Dec 20, 2013

@at-root will not be dropped, although support for & in a script context is being delayed until the next release.

See also https://gist.github.com/nex3/8050187.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request planned We would like to add this feature at some point
Projects
None yet
Development

No branches or pull requests

2 participants