Closed
Bug 922433
Opened 12 years ago
Closed 8 years ago
importing svg node into a document loaded via data:uri causes <defs> tag to be ignored
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: lakenen, Unassigned)
Details
(Keywords: testcase, Whiteboard: [bugday-20131007])
Attachments
(2 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36
Steps to reproduce:
1. Download and extract the attached reduced test case
2. Open index.html in Firefox
3. Observe
Actual results:
Object 1 does not render imported svg content correctly, whereas object 2 does. If you take a look at the source, the only difference in svg content is that the image in object 1 is specified in the <defs> tag, then referenced in a <use> tag, whereas in object 2, the image is specified directly.
Expected results:
Both test cases should work.
Comment 1•12 years ago
|
||
Confirmed with the testcase attachment 812372 [details] that the object 1 fails, and object 2 shows an image in 2013-10-07-03-02-03-mozilla-central-firefox-27.0a1.en-US.linux-x86_64.
Component: Untriaged → SVG
Keywords: testcase
OS: Mac OS X → All
Product: Firefox → Core
Whiteboard: [bugday-20131007]
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Build 2011-10-07-03-12-27-mozilla-central-firefox-10.0a1.en-US.linux-x86_64 and older say "This XML file does not appear to have any style information associated with it. The document tree is shown below."
Build 2011-10-21-03-10-12-mozilla-central-firefox-10.0a1.en-US.linux-x86_64 and newer behave as described in comment #0.
The builds between those don't start here.
Comment 4•12 years ago
|
||
Attachment #812372 -
Attachment is obsolete: true
| Comment hidden (off-topic) |
| Comment hidden (obsolete) |
Comment 9•8 years ago
|
||
works on a current nightly. Not sure what fixed it.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•