Closed
Bug 379971
Opened 19 years ago
Closed 17 years ago
onload event not called for dynamically created SVG elements
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
3.93 KB,
image/svg+xml
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a4) Gecko/20070427 GranParadiso/3.0a4
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a4) Gecko/20070427 GranParadiso/3.0a4
This is highly related to 372147 and 220055, but I did not feel like polluting those threads, which are already quite busy. This report deals with SVG elements that are created dynamically via scripting.
A dynamically created SVG element, that is descendant of a SVG document, does not have its "onload" event triggered.
I do not even know if the SVG standard addresses this situation, nor what the general consensus on how the "onload" event should work. However, 372147 demonstrates that there is a discussion along this topic, and I would like this test case to be considered.
Reproducible: Always
Steps to Reproduce:
1. A test case will be submitted.
2.
3.
The bugs referenced above are bug 372147 and bug 220055
Comment 3•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.4pre) Gecko/2007050204 BonEcho/2.0.0.4pre
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a5pre) Gecko/20070508 Minefield/3.0a5pre ID:2007050804 [cairo]
Opera 9.2
All show the testcase the same for me.
Updated•17 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 4•17 years ago
|
||
The SVG specification defines the onload handler as being called when the
element is parsed. In this case, there is no parsing going on: you're directly
synthesizing SVG DOM nodes.
You might want to raise this with the SVG working group...
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•