RadioPeirasmos / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

mhtml: images to skip #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
.something{background:url(mhtml:http://...)} in CSS

mhtml: images must be skipped. Right now they are not supported at all 
(IE6/7 fails on creating Sprites from mhtml: images, but they are 
recognized as Sprites properly).

Need to add somehting like this

            if ( 0 == imageUrl.toLowerCase().indexOf("mhtml:") 
) {
                SpriteMe.dprint(5, "skipping mhtml:");
                if ( !SpriteMe.bMhtmlWarning ) {
                    alert("Background images using 
\"mhtml:\" URIs are not supported by SpriteMe.");
                    SpriteMe.bMhtmlWarning = true;
                }
                continue;
            }

right after data:URI skipping (string 100...110 in spriteme.js)

Original issue reported on code.google.com by sunny.dr...@gmail.com on 2 Sep 2009 at 12:59

GoogleCodeExporter commented 9 years ago
Do you have an example web site that uses mhtml?

Original comment by stevesou...@gmail.com on 22 Sep 2009 at 3:00

GoogleCodeExporter commented 9 years ago
webo.in ? :)

Original comment by sunny.dr...@gmail.com on 22 Sep 2009 at 5:51