- From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Fri, 10 Oct 2008 07:25:25 -0400 (EDT)
- To: public-svg-wg@w3.org
ISSUE-2098 (script removal): Clarification for removal of script element [Last Call: SVG 1.2 Tiny ]
http://www.w3.org/Graphics/SVG/WG/track/issues/2098
Raised by: Doug Schepers
On product: Last Call: SVG 1.2 Tiny
Julien Reichel
<http://lists.w3.org/Archives/Public/www-svg/2008Oct/0056.html>:
[[
Basic question about script:
Can a script element remove itself from the XML tree ? If yes what is
the impact on the execution of the script
Example:
<script xml:id='test'>
var scr = document.getElementById("test");
scr.parentNode.removeChild(scr);
// more script
...
</script>
Does this throw an exception ?
Does the "more script" get executed or not ?
]]
Received on Friday, 10 October 2008 11:26:00 UTC