W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

SVG12: <use> event flow requires too much meditation

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 29 Jan 2006 21:53:30 +0100
To: www-svg@w3.org
Message-ID: <7qaqt1hpsf94fc9ib5obh8q30lrredgcg0@hive.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/struct.html section
5.6 and http://www.w3.org/TR/2003/REC-SVG11-20030114/ section 5.6 define
the event flow for events dispatched to element instances in a way that
requires serious meditation to comprehend. It states "An element and all
its corresponding SVGElementInstance objects share an event listener
list". This should be modified to clearly rule out the possibility of
any differnce between the listener chain of an element and its instances
as the current text is at least unclear about the processing model for
e.g. registering an event listener on an SVGElementInstance object.
Please change both documents accordingly. Further, please add an example
of non-trivial <use> use with a corresponding illustration of the event
flow and listener invocation.

I also note that the Adobe SVG viewer is the only implementation I could
find that implements this not obviously incorrectly, in Batik the events
do not seem to accomplish the target phase and they are dispatched to
children of document fragments, in Opera9 the events are dispatched to
the use element only (if it does not crash), Mozilla is similar (but
does not crash), in Amaya the instances do not seem to be live at all,
etc.

regards,
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 29 January 2006 20:52:42 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:33 GMT