google / closure-stylesheets

A CSS+ transpiler that lints, optimizes, and I18n-izes
Apache License 2.0
314 stars 65 forks source link

Data-uri support #26

Open iflan opened 9 years ago

iflan commented 9 years ago

Originally reported on Google Code with ID 7

Would be great to have an ability to preprocess css files that way that data-uri would
appear in css instead of images. As not all browsers support data-uri (IE 7 and earlier,
IE8 only 32Kb), this can be an optional parameter like "--replace_image_with_data_uri".

Also by default root path for image path in css can be considered path to processed
stylesheet. But that could be changed explicitly by providing --root argument. --root
argument can have local folder path or web url images will be fetched from.

Reported by judo.ras on 2011-11-30 07:18:03

iflan commented 9 years ago

Reported by bolinfest@google.com on 2011-12-02 22:15:53

iflan commented 9 years ago
This is something very great moving forward with more modern browsers in the playing
field. Where does this enhancement stand as of today?

Reported by akesablyan@google.com on 2012-09-19 20:51:32