klen / python-scss

Python scss parser.
http://packages.python.org/scss/
GNU Lesser General Public License v3.0
67 stars 12 forks source link

Chokes on IE filters #21

Open pistolero opened 12 years ago

pistolero commented 12 years ago

SCSS is unable to parse following constructs:

div { filter: alpha(opacity=85); }

or

div { filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60); }
vgarvardt commented 12 years ago

same for me exception on

#menu {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f858ef', endColorstr='#ffe413', GradientType=1);
}
homeworkprod commented 12 years ago

Same goes for me:

.foo {
  filter: alpha(opacity='0');
}

blows up complaining:

.foo {
^
Expected end of text (at char 0), (line:1, col:1)

Is there a workaround?