nex3/sass — Issue #278: Properly parse child selectors in sass-convert
Author: nex3
Created: 2012-02-14 23:45:39+00:00
State: open

```css
/* input.css */
a>:first-child {b: c}
a>:last-child {b: d}
```

```scss
// output.scss
a> {
&:first-child {
b: c;
}
&:last-child {
b: d;
}
}
```

```scss
// expected.scss
a > {
:first-child {
b: c;
}
:last-child {
b: d;
}
}
```

The `a>:foo` selector isn't parsed fully enough to determine that `>` is a combinator. We should actually parse it rather than treating it as a string.