Re: SVGT 1.2: order of script execution and load event

This is the response from the SVG Working Group to your Last Call
comment at

We agree with your comment and have changed the specification to say
that the script executes before the element's load event occurs.

Thank you for your comment. Please tell us within two weeks if this
response is not acceptable.

Jon Ferraiolo
Adobe Systems, Inc.
Member SVG WG


From: Maciej Stachowiak <> 
Date: Wed, 28 Dec 2005 04:43:39 -0700
Message-Id: <> 

The SVGT 1.2 spec says:

"Script execution happens just after the load event occurs for the  
given script element."

This is opposite of the order in HTML, where the script executes  
before the corresponding element's load event occurs. It seems to me  
this reversed order will be confusing to content authors in a CDF  

Also, I think the HTML behavior is more useful. When you dynamically  
add a <script> element, the time you really want an event to fire is  
after it has executed, so you know the functions defined in your  
external library are now available. An event right before the script  
executes is useless.

I recommend reversing the ordering here.


Received on Tuesday, 24 January 2006 23:37:08 UTC