Closed
Bug 802571
Opened 13 years ago
Closed 13 years ago
SVG Image with <image> tags does not show up in Firefox 16 when referred through GWT application
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: tilak1233, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121010144125
Steps to reproduce:
I created a new svg file (NewImage.svg) with <image> tags:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
<svg xmlns='http://www.w3.org/2000/svg'
xmlns:xlink='http://www.w3.org/1999/xlink'
width="224px" height="54px" viewBox="-0.58 -1.162 224 54">
<image xlink:href='background.svg' width='224' height='54' />
<image xlink:href='foreground.svg' x='12' y='12' width='32' height='32'/>
</svg>
Actual results:
When I open this NewImage.svg in Firefox directly, it opens perfectly.
However, when I refer to this svg file from inside my GWT application, the NewImage.svg does not load in Firefox 16. It does load correctly in IE 9.
Expected results:
The NewImage.svg file which has <image> tags should have loaded in Firefox even when referred from inside a GWT application
| Reporter | ||
Updated•13 years ago
|
Severity: normal → major
Component: Untriaged → Search
Priority: -- → P1
| Reporter | ||
Updated•13 years ago
|
Component: Search → Untriaged
Comment 1•13 years ago
|
||
> However, when I refer to this svg file from inside my GWT application, the NewImage.svg does not load in Firefox 16. It does load correctly in IE 9.
I don't understand. Can you explain to someone that hasn't used GWT what you're doing?
Are you trying to display the comment 0 file as an image itself?
Updated•13 years ago
|
Flags: needinfo?(tilak1233)
| Reporter | ||
Comment 2•13 years ago
|
||
I am trying to use the NewImage.svg file (which has <image> tags) as an image itself.
I just use the path of this file to a JavaScript library, which inturn displays the image.
Flags: needinfo?(tilak1233)
Comment 3•13 years ago
|
||
Images have to be encapsulated as single objects, they can't reference other external images for privacy reasons.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Comment 4•13 years ago
|
||
You could make the inner images data urls. See bug 628747 for the privacy issues.
You need to log in
before you can comment on or make changes to this bug.
Description
•