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

incorrect placement of parent selector (less) #36

Open
elexisvenator opened this issue Nov 7, 2015 · 0 comments
Open

incorrect placement of parent selector (less) #36

elexisvenator opened this issue Nov 7, 2015 · 0 comments

Comments

@elexisvenator
Copy link

Other less compilers i checked dont have this issue, it seems specific to the one fiddlesalad uses.

When i type:

.foo {
    > .bar {
        baz& {
            width: 50%;
        }
        baz & {
            width: 50%;
        }
        .baz& {
            width: 50%;
        }
        .baz & {
            width: 50%;
        }
    }
}

the expected output is

baz.foo > .bar {
  width: 50%;
}
baz .foo > .bar {
  width: 50%;
}
.baz.foo > .bar {
  width: 50%;
}
.baz .foo > .bar {
  width: 50%;
}

Instead, the output is

baz .foo > .bar {
  width: 50%;
}
baz .foo > .bar {
  width: 50%;
}
.baz .foo > .bar {
  width: 50%;
}
.baz .foo > .bar {
  width: 50%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant