W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2008

Re: <script> elements running only once

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 9 Jun 2008 19:51:43 +1000
To: public-svg-wg@w3.org
Message-ID: <20080609095143.GG22719@arc.mcc.id.au>

Alexander Adam:
> Well what should happen in those cases:
> - The text / cdata content within an existing script element is changed?
> According to what I've said / HTML5 behaviour, this would be ignored
> as the parent script element has been flagged to be ignored.

Yeah, and Tiny 1.2 says that explicitly too (that if the text content is
updated while in the tree that it doesn’t cause a re-execution).

> - Another text / cdata section is append to the script element. should
> that new content be eval'd or be ignored as the parent script element
> is flagged?

Same as above.

Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 9 June 2008 09:52:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:08 UTC