Closed
Bug 641303
Opened 15 years ago
Closed 15 years ago
SVG in data uri rendered differently to relative linked svg
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 243917
People
(Reporter: emil.langrock, Unassigned)
Details
Attachments
(7 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110310 Firefox/4.0 Iceweasel/4.0
The output of the renderer differs between svg that it is linked using an external file and embedded using data uris.
I noticed that mozilla also renders it wrong when using an external file, but the data uri version is completely unreadable. I will attach a tarball with example files and the rendering that i see.
Reproducible: Always
| Reporter | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Maybe duplicate of Bug 243917
Comment 3•15 years ago
|
||
Can you upload individual files rather than a tarball please?
| Reporter | ||
Comment 4•15 years ago
|
||
| Reporter | ||
Comment 5•15 years ago
|
||
| Reporter | ||
Comment 6•15 years ago
|
||
| Reporter | ||
Comment 7•15 years ago
|
||
| Reporter | ||
Comment 8•15 years ago
|
||
| Reporter | ||
Comment 9•15 years ago
|
||
| Reporter | ||
Comment 10•15 years ago
|
||
Attachment #519027 -
Attachment is obsolete: true
Comment 11•15 years ago
|
||
You're using things like |fill: url(#green2grey)|. This resolves the url relative to the data URI, so you get something equivalent to: |fill: url(data:.....#green2grey)| which is of course not valid SVG, and can't render, if the "#green2grey" part is treated as part of the data. Which it is with data: in Gecko.
There is an existing bug on this; fixing it requires redefining the data: spec a bit, last I checked.
Whiteboard: DUPEME
Comment 12•15 years ago
|
||
(In reply to comment #11)
> There is an existing bug on this
Yup -- duplicate of Bug 243917, as Alice0775 suggested in Comment 2.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•