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

child selector get duplicated parent selector when assigning the parent selector #1304

Closed
ekskimn opened this issue Jul 1, 2015 · 5 comments

Comments

@ekskimn
Copy link

ekskimn commented Jul 1, 2015

When I do:

foo {
    a:&;
    >bar {
        b:&;
        >baz {
            c:&;
        }
    }
}

I get

foo {
  a: foo; }
  foo > bar {
    b: foo foo > bar; }
    foo foo > bar > baz {
      c: foo foo foo foo > bar > bar foo foo > bar > baz; }
@KittyGiraudel
Copy link

Please, use fenced code blocks to wrap your code: https://help.github.com/articles/github-flavored-markdown/#fenced-code-blocks.

@ekskimn
Copy link
Author

ekskimn commented Jul 1, 2015

ah thanks~!

@mgreter
Copy link
Contributor

mgreter commented Jul 7, 2015

The fix (by @ekskimn) is included in #1249 ...

xzyfer added a commit to xzyfer/sass-spec that referenced this issue Jul 13, 2015
@xzyfer
Copy link
Contributor

xzyfer commented Jul 13, 2015

Spec added sass/sass-spec#439

xzyfer referenced this issue in mgreter/libsass Jul 13, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Jul 13, 2015
@xzyfer
Copy link
Contributor

xzyfer commented Jul 13, 2015

Since this is a regression I've activated the spec. This will prevent #1249 being merge without the patch applied.

@xzyfer xzyfer closed this as completed Jul 13, 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

4 participants