keithclark / selectivizr

selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8.
1.71k stars 247 forks source link

Working with compressed (YUI) CSS files #36

Open stijnj opened 12 years ago

stijnj commented 12 years ago

When working with compressed (YUI) CSS files selectivizr crashes and removes all style from the page. When I'm only compressing the CSS it all works fine.

I asume the script can't handle the YUI compressing (1 line for all CSS)? With simple compressing (1 line per rule) the script works fine.

Further debugging points out that IE8 removes all style while IE7 loads the stylings but throws an error (can't find file)

Any ideas on how to solve this (except not using YUI compression)?

jeroenbourgois commented 11 years ago

I'm having the same problem, any ideas?