My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 23: mhtml: images to skip
2 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  sunny.dr...@gmail.com


 
Project Member Reported by sunny.dr...@gmail.com, Sep 1, 2009
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)
Sep 21, 2009
Project Member #1 stevesou...@gmail.com
Do you have an example web site that uses mhtml?
Sep 21, 2009
Project Member #2 sunny.dr...@gmail.com
webo.in ? :)

Powered by Google Project Hosting