New issue
Advanced search Search tips

Issue 813732 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 620054
Owner: ----
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

SVG not rendering on img tag - blank image instead

Reported by ranb...@gmail.com, Feb 20 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Steps to reproduce the problem:
1. Go to this link:
https://jsfiddle.net/ranbuch/8Lp17Lqg/6/
with chrome browser.
2. The SVG image is transparent.
3. Go to same link in any other browser and see the image.
4. Open the image on a new Tab:
https://cdn.creators3d.com/hotlink-ok/site-2018/AR_VR.svg
and see the image on chrome (or any other browser).

What is the expected behavior?
The image should be visible with img Tag.

What went wrong?
The image is not visible with img Tag, only if you're copying and pasting the SVG content like so:
https://jsfiddle.net/ranbuch/v1wy3tn6/
or opening the image in a new Tab.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 64.0.3282.167  Channel: stable
OS Version: 10.0
Flash Version:
 

Comment 1 by f...@opera.com, Feb 20 2018

Mergedinto: 620054
Status: Duplicate (was: Unconfirmed)
This is a duplicate of issue 620054.

You can fix it by changing "img/png" (in the data: URL) to "image/png" in https://cdn.creators3d.com/hotlink-ok/site-2018/AR_VR.svg

Comment 2 by ranb...@gmail.com, Feb 20 2018

Thank you

Sign in to add a comment