Chrome and Epiphany nothing happens. Page with graphic is here:
The ?? in the 'Days left' graphic should get replaced by a number, but instead nothing happens.
I did a small investigation on this with the web inspector. The SVG renders fine, but the getSVGDocument() call returns undefined. It doesn't seem to be a problem in the SVG file, since downloading the file, and adding it to an <object> tag in a simple test html file has that call working, from the inspector. I was unable to reduce it up to now.
The problem seems to only happen if the server gives text/xml as the Content-Type in its response (as the server in question does). If the server says the file is image/svg+xml, then it works.
We need to either sniff the svg from the content (I'm afraid this needs an update to the content sniffing standard), or use the explicitely given type attribute in the object tag here.
I updated the web server to give the proper document type for SVG and now it works.
Created attachment 63632 [details]
Here's a layout test for this issue, with a passing expected result. You can test it works with image/svg+xml by changing svg-as-xml.php to send that as the Content-Type. Now we just need to figure out how to fix it ;)
I'm not sure if forcing a different MIME in loader is the right fix. Although getSVGDocument isn't defined in HTML5, it seems like it should work regardless of MIME type, and possibly even for text/html documents.