ISSUE-2254 (load-event-dispatching): Consider changing which elements have load dispatched to them [SVG Core 2.0]

ISSUE-2254 (load-event-dispatching): Consider changing which elements have load dispatched to them [SVG Core 2.0]

http://www.w3.org/Graphics/SVG/WG/track/issues/2254

Raised by: Cameron McCormack
On product: SVG Core 2.0

The load event in SVG is somewhat different from the one in SVG.  In HTML, load is only dispatched at <img> elements, when their image has loaded, and at the Window object (and thus captured by <body onload="">).  In SVG, *every* element gets a load event dispatched to it.  The spec isn't clear about when exactly load events are dispatched.  We could consider aligning with HTML here, perhaps firing only on <svg:image> and the root <svg:svg> element.  I think testing is needed to see what implementations actually do with the load event at the moment.

Received on Monday, 30 March 2009 03:46:05 UTC