Closed
Bug 646712
Opened 14 years ago
Closed 14 years ago
SVG cannot capture onload event in the firefox4
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 571134
People
(Reporter: lock_w, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
test.html:
...
<object type="image/svg+xml" data="test.svg" id="test">
...
test.svg:
...
<g id="text" onload="init(evt)">
...
</g>
...
The upper example cannot run correctly in the firefox4, however, it executes good in the firefox3.6.12. We used firebug to add breakpoint in the "init(evt)" (The "init(evt)" is declared within test.svg), but we found the onload event could not be captured. In fact, onload event should be supported because it is standard event defined in SVG Specification.
The firefox3.6.12 and firefox4 are downloaded from "http://www.firefox.com.cn".
Reproducible: Always
Steps to Reproduce:
1.
Summary: SVG cannot trigger onload event in the firefox4 → SVG cannot capture onload event in the firefox4
Comment 1•14 years ago
|
||
Sorry, we disabled this for performance reasons. Use onload on the outer <svg> element rather than the inner <g> element instead.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•