Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Respect comma-first syntax for parent selectors (&) #1140

Closed
geoffthibeau opened this Issue · 0 comments

2 participants

@geoffthibeau

I prefer comma-first syntax, but apparently SCSS does not. Hopefully this is an easy fix.

Mac OSX Mavericks
Ruby: 2.0.0p247
Sass: 3.3.0.rc.1 (Maptastic Maple)

The following produces an "Invalid parent selector" error:

.foo
, .bar
{
    &.snafu
    {
         font-size: 1em;
    }
}

While these do not:

.foo,
.bar
{
    &.snafu
    {
         font-size: 1em;
    }
}
.foo, .bar
{
    &.snafu
    {
         font-size: 1em;
    }
}
@nex3 nex3 added the Bug label
@nex3 nex3 added this to the 3.3 milestone
@nex3 nex3 closed this in 4cee8ac
@lakesareadesign lakesareadesign referenced this issue from a commit in eric-miller/sass
@nex3 nex3 Fix parent selector resolutions with newlines + commas.
Closes #1140
d209fa7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.