ISSUE-2254: Consider changing which elements have load dispatched to them

load-event-dispatching

Consider changing which elements have load dispatched to them

State:
RAISED
Product:
SVG 2
Raised by:
Cameron McCormack
Opened on:
2009-03-30
Description:
The load event in SVG is somewhat different from the one in HTML. 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.

hsivonen also asks the WG to clarify whether the 'load' events need to be processed synchronously during parsing, thread starts here: http://lists.w3.org/Archives/Public/www-svg/2009Nov/0090.html
Related Actions Items:
No related actions
Related emails:
  1. svg2: 3 new changesets (from cam+svgwgrepo@mcc.id.au on 2013-10-09)
  2. svg2: 2 new changesets (from cam+svgwgrepo@mcc.id.au on 2013-09-23)
  3. Re: load event in interact-events-01-b.svg and SVG 2.0 - ISSUE-2254 (from hsivonen@iki.fi on 2010-07-21)
  4. Minutes July 19 2010 SVG WG telcon (from anthony.grasso@cisra.canon.com.au on 2010-07-21)
  5. Re: Agenda July 19 2010 SVG WG telcon (from anthony.grasso@cisra.canon.com.au on 2010-07-21)
  6. Re: load event in interact-events-01-b.svg and SVG 2.0 - ISSUE-2254 (from ed@opera.com on 2010-07-20)
  7. Re: The synchronous load event is trouble (from ed@opera.com on 2009-12-21)
  8. Minutes, April 6, 2009 telcon (from ed@opera.com on 2009-04-06)
  9. Agenda, Monday 6 April 2009 SVG WG telcon (from cam@mcc.id.au on 2009-04-06)
  10. Re: ISSUE-2254 (load-event-dispatching): Consider changing which elements have load dispatched to them [SVG Core 2.0] (from ed@opera.com on 2009-03-30)
  11. ISSUE-2254 (load-event-dispatching): Consider changing which elements have load dispatched to them [SVG Core 2.0] (from sysbot+tracker@w3.org on 2009-03-29)

Related notes:

No additional notes.

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2254.html,v 1.1 2020/01/17 13:20:41 carcone Exp $