1

Possible Duplicate:
Chrome gives a warning when loading an SVG in an <img>

I have a weird problem. the live demo of this problem is located at beta.netbarg.com

The problem is that, I have written a SVG file as the background property of an element. here is the stylesheet:

#lightburst {
    ...
    background: url('../nb2img/non-sprites/backlight.svg');
    ...
}

And According to this link and this one I have configured Apache to send Content-Type: image/svg+xml header for my SVG file.

The weird part:

  • On Windows, everything is OK.
  • On Linux (Ubuntu 10.4 - Chromium-browser/11) console logs a weird warning: Resource interpreted as Image but transferred with MIME type image/svg+xml

What's this? Is this a bug? how am I supposed to handle this warning?

Community
  • 1
  • 1
Sepehr
  • 2,051
  • 19
  • 29
  • http://stackoverflow.com/questions/5065887/html5-loading-an-svg-in-an-img-chrome-warning Chromium 18, Ubuntu, doesn't give the warning. – David Oliver Aug 26 '12 at 17:18
  • @DavidOliver That is a fixed bug in Webkit, I'm looking for the fix in Webkit's trunk to post here but my question is not the same bug because everything works fine under Windows. – Sepehr Aug 26 '12 at 17:23
  • Is it the same version on Chromium in Windows? The warning is the same... – David Oliver Aug 26 '12 at 17:32
  • @DavidOliver The Chromium version, no but the Webkit version, yes. I compiled it myself with the same version of my windows' chromium. – Sepehr Aug 26 '12 at 18:32
  • Have you tested in an actual standard recent version of Chromium in Linux? – David Oliver Aug 27 '12 at 09:04
  • @DavidOliver I've tested it with the standard/latest Chromium-browser which is located at Backtrack's repo and the same warning happened. – Sepehr Aug 27 '12 at 09:08

0 Answers0