- From: Jean-Claude Dufourd <jcdufourd@gmail.com>
- Date: Mon, 23 Oct 2006 09:27:39 +0200
- To: www-svg <www-svg@w3.org>
- CC: Nicolas Pierre <nicolas.pierre@streamezzo.com>
- Message-ID: <453C6EEB.7020708@streamezzo.com>
The definition of load is: "The event is triggered at the point at which the user agent finishes loading the element and any dependent resources (such as images, style sheets, or scripts). In the case the element references a script, the event will be raised only after an attempt to interpret the script has been made. Dependent resources that fail to load will not prevent this event from firing if the element that referenced them is still accessible via the DOM unless they are designated as externalResourcesRequired <http://www.w3.org/TR/SVG/struct.html#ExternalResourcesRequired>. The event is independent of the means by which the element was added to DOM tree." Q1: From the last sentence, we understand that if you create and add an element through the uDOM, a load event is generated. Is this correct ? Q2: An element present in the original SVG document is parsed, and a corresponding load event has been generated. By scripting, said element is removed and then added back to the DOM tree: is another load event generated ? or is there only exactly one load event ever sent per element as suggested by our experiment with two existing major implementations ? either way, a clarification would be welcome. Thanks JC -- *Jean-Claude Dufourd* - Chief Scientist, *Streamezzo* 83, Bd du Montparnasse 75006 Paris - Tel: +33 (0) 153632847 *http://www.streamezzo.com* - Fax: +33 (0) 142224601
Received on Monday, 23 October 2006 07:29:23 UTC