ISSUE-2098: Clarification for removal of script element

script removal

Clarification for removal of script element

State:
CLOSED
Product:
SVG 1.2 Tiny: Last Call
Raised by:
Doug Schepers
Opened on:
2008-10-10
Description:
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 ?
]]
Related Actions Items:
Related emails:
  1. SVG/profiles/1.2T doc-svgt12.html,1.2,1.3 (from cvsmail@w3.org on 2008-10-30)
  2. SVG/profiles/1.2T doc-svgt12.html,NONE,1.1 (from cvsmail@w3.org on 2008-10-28)
  3. RE: [1.2T-LC] Clarification for removal of script element (ISSUE-2098) (from Julien.Reichel@spinetix.com on 2008-10-20)
  4. Minutes, SVG Marathon telcon Friday October 17 2008 (from anthony.grasso@cisra.canon.com.au on 2008-10-18)
  5. Re: [1.2T-LC] Clarification for removal of script element (ISSUE-2098) (from anthony.grasso@cisra.canon.com.au on 2008-10-17)
  6. SVG/profiles/1.2T/master script.html,1.102,1.103 (from cvsmail@w3.org on 2008-10-17)
  7. Re: Logistics of Open Issues (from schepers@w3.org on 2008-10-16)
  8. Logistics of Open Issues (from schepers@w3.org on 2008-10-16)
  9. Minutes October 16, 2008, marathon telcon (from ed@opera.com on 2008-10-16)
  10. ISSUE-2098 (script removal): Clarification for removal of script element [Last Call: SVG 1.2 Tiny ] (from sysbot+tracker@w3.org on 2008-10-10)

Related notes:

Agree. Commenter satisfied: http://lists.w3.org/Archives/Public/www-svg/2008Oct/0203.html

Doug Schepers, 2 Nov 2008, 20:59:59

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2098.html,v 1.1 2020/01/17 13:19:34 carcone Exp $