Closed Bug 1210806 Opened 9 years ago Closed 9 years ago

SVG embedded in page retrieved with error status code is not displayed

Categories

(Firefox :: Untriaged, defect)

41 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1150993

People

(Reporter: joe, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2516.0 Safari/537.36

Steps to reproduce:

Tested on Firefox 37.0.2 and 41.0.1 on OS X (10.10 and 10.11).

https://joeshaw.org/dropbox/svg-error.html is a test case that exhibits the behavior.  It loads three images: an SVG in an <img> tag, a PNG in an <img> tag, and SVG as a CSS background-image.

In all cases, the images are served as the payload of a 404 response.



Actual results:

On Firefox, only one image is displayed: the PNG tiger.

On Chrome (various versions, OS X), Safari (8 and 9, OS X), and IE 11 (Win 8.1) all three images are displayed.

If you navigate directly to the SVG URL, the image is displayed on all browsers.


Expected results:

All three images should be displayed in Firefox.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.