Subject: | Bug report for Text::Sass |
Date: | Fri, 20 Jan 2012 13:37:49 +0200 |
To: | bug-Text-Sass [...] rt.cpan.org |
From: | Andrei Arsenin <dread.deimos [...] gmail.com> |
Module version: v0.93
Perl version: v5.12.4
OS: Linux Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 i686 i386 GNU/Linux
Following SCSS code:
a {
font-weight: bold;
text-decoration: none;
&:hover { text-decoration: underline; }
body.firefox & { font-weight: normal; }
}
Compiles to this CSS:
a {
font-weight: bold;
text-decoration: none;
}
:hover {
text-decoration: underline;
}
{
font-weight: normal;
}
Which isn't valid according to "Referencing Parent Selectors" section of
sass-lang.com documentation:
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#referencing_parent_selectors_