thumblemonks / smurf

Rails plugin to automatically minify JavaScript and CSS when their bundles get cached
http://gusg.us/code/ruby/smurf-rails-autominifying-js-css-plugin.html
MIT License
193 stars 12 forks source link

@charset in all but first css file kills safari #17

Open adampnielsen opened 13 years ago

adampnielsen commented 13 years ago

When @charset 'UTF-8'; is set in second or third css file it destroys css rendering in safari.

you could remove @charset from all but the first css file. @charset must be defined in the top of the document. like in html where you need to define it as the first tag inside the header tag. :)