vaadin / sass-compiler

A Java Sass compiler implementation
53 stars 25 forks source link

Ampersand trickery not supported #15

Open ricksbrown opened 8 years ago

ricksbrown commented 8 years ago

In native sass we can compile this:

div.layout {
    &50 {
        width: 50%;
    }
    &100 {
        width: 100%;
    }
}

To get this:

div.layout50 {
  width: 50%; }
div.layout100 {
  width: 100%; }

For the same input Vaadin sass-compiler gives us an exception:

org.w3c.css.sac.CSSParseException: encountered "50". Was expecting one of: "," "[" "%" "." ":" "{" <HASH> "." "%" <HASH> ":" "[" "," "{"'
leafchild0 commented 6 years ago

Missing this feature very much. Are there any updates on that?