vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

Less: Microsoft filter should be valid #133

Open FagnerMartinsBrack opened 11 years ago

FagnerMartinsBrack commented 11 years ago

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#38ffffff',GradientType=1 )

It throws all sorts of errors but should be allowed since it is the only way to use gradient over Internet explorer v6-9

tyrinslys commented 11 years ago

I wish I had a way to +1 this without adding a comment. Fixing this would get rid or %90 of my false errors.

FagnerMartinsBrack commented 11 years ago

escaping in a string is a workaround for this issue.

I think that the plugin should treat the rules a bit different. Instead of validating every property just validate the ones compliant to the spec. The rest could be ignored. The CSS language has a great history and spec violations should be allowed.

tyrinslys commented 11 years ago

Thanks, that workaround is better than nothing.