W3C home > Mailing lists > Public > www-svg@w3.org > December 2005

SVGT 1.2: dynamic changes to <handler> elements

From: Maciej Stachowiak <mjs@apple.com>
Date: Wed, 28 Dec 2005 04:28:22 -0700
Message-Id: <342DB765-C2C1-4F74-BCB3-423572ED3DE5@apple.com>
To: www-svg@w3c.org

"Removing, inserting or altering handler elements after their content  
has been loaded has no effect on executable content, but changes made  
to the parameters that are available from a given handler element  
must be reflected when the handler content is executed."

Maybe i am misunderstanding, but to me this implies the following:

* Removing a <handler> element doesn't remove the corresponding event  
handler on its observer.
* Inserting a <handler> element doesn't add an event handler on its  
observer unless this happens as part of parsing.
* Changing the text contents of even an inline handler element  
doesn't change what happens when the event fires.

All of these seem counter-intuitive, contrary to how the <listener>  
element works, and contrary to how "onfoo" style inline event  
attributes work.

I suggest correcting this so that dynamic changes to <handler>  
elements do in fact have effect (or clarifying this section if I did  
in fact misunderstand).

Received on Wednesday, 28 December 2005 11:30:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:05 UTC