I’ve added Twitter Boostrap support to our RoR 3.2.2 app via Twitter-Bootstrap-Rails gem. It seems to work fine, but when browsing our app using FireFox 12.0 on some (not all) of our OSX Lion dev boxes, we’re getting loads (more than FF log can hold) of warnings like the following when the app pages load:
Error in parsing value for 'filter'. Declaration dropped.
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endC...
bootst...?body=1 (line 3081, col 17)
which refers to
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
in assets/bootstrap_and_overrides.css.
These warnings do not occur with Chrome nor Safari on OSX, nor do they occur with IE9 nor FireFox 7.01 or FireFox 12 on Windows 7. So it appears to be an issue with FireFox 12 on OSX but I can’t tell for sure. FF appears to be trying to load IE-specific style attributes here.
Thanks in adv for any input – Michael
I’d always put or import IE-specific styles inside a conditonal comment;
for these type of errors.
This is why we have “This site best works under Chrome” or FF or IE etc banners on websites. 🙂