SVG format not loading in native picture element when specified in source element with type="image/svg+xml" #251

Closed
bjankord opened this Issue Oct 25, 2014 · 1 comment

Projects

None yet

2 participants

@bjankord

I believe I've found an issue with the native picture element and SVG type format. I've created a simple test case.

Expected Result:
In browsers that natively support the picture element and SVG format, display the svg image when used in picture element with appropriate type attribute.

Actual Results:
In browsers that natively support the picture element and SVG format, the fallback image displays instead of the SVG image when used in picture element with appropriate type attribute.

Of interest, I tested the same markup with WebP and there were no issues with it loading the WebP format in browsers that natively support the picture element and WebP format.

I havn't filled bugs against Chrome or Opera yet. Was opening I was maybe missing some detail and wanted to share here first.

cc/ @Wilto @yoavweiss @tabatkins @marcoscaceres

@yoavweiss
Member

That's a chrome bug, fixed in canary (and maybe in 39, I don't remember, and on the road).

@yoavweiss yoavweiss closed this Oct 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment