namuit / phamlp

Automatically exported from code.google.com/p/phamlp
0 stars 0 forks source link

extend selector with nesting #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
.test {
    color: green;
    &:hover { color: red; }
}
.test2 {
    @extend .test;
}

What is the expected output? What do you see instead?
Expected:
.test, .test2 {color:green;}
.test:hover, .test2:hover {color:red;}

Actual:
.test, .test2 {color:green;}
.test:hover {color:red;}

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.

Original issue reported on code.google.com by Ti.web...@gmail.com on 24 Jan 2011 at 5:06