W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 2009

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

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Sun, 29 Mar 2009 23:45:57 -0400 (EDT)
To: public-svg-wg@w3.org
Message-Id: <20090330034557.70BC57F469@otto.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 March 2009 03:46:10 GMT