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

RE: <script> elements running only once

From: Alexander Adam <alexander.adam@examotion.com>
Date: Mon, 9 Jun 2008 09:25:28 +0200
To: "'Cameron McCormack'" <cam@mcc.id.au>, <public-svg-wg@w3.org>
Message-ID: <C947CA5C2F424A92853B4BF7E794DC06@Satellite415>

I'd like to note that it's hard to re-execute scripts once they're in the context it's almost impossible to take them out again if the script engine doesn't support it. For example, Renesis uses Jscript and we do not have any chance to get it out except shutting the whole engine down, then restarting it and re-inserting all scripts..

mfG / Regards,
Alexander Adam
--
CEO / Geschäftsführer

examotion GmbH
Karl-Grillenberger-Str. 1/1a
90402 Nuernberg

Phone:  +49 911 - 59650-68
Fax:    +49 911 - 59650-69
E-Mail: alexander.adam@examotion.com
Web:    http://www.examotion.com

Geschäftsführer: Alexander Adam
Amtsgericht Nürnberg HRB Nr.: 23803 
Gerichtsstandort: Nürnberg

--------------------------------------------------
LEGAL DISCLAIMER: The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
--------------------------------------------------

> -----Original Message-----
> From: public-svg-wg-request@w3.org [mailto:public-svg-wg-request@w3.org]
> On Behalf Of Cameron McCormack
> Sent: Montag, 9. Juni 2008 03:07
> To: public-svg-wg@w3.org
> Subject: <script> elements running only once
> 
> 
> http://www.w3.org/TR/SVGMobile12/script.html#ScriptContentProcessing
> says that <script> elements are executed when they are inserted into the
> document.  However, I noticed that both Opera 9.5b2 and Firefox 3rc1
> handle SVG <script> elements in the same way as HTML 5 <script>
> elements, i.e. once a <script> element executes, it will not be executed
> again when removed from and then reinserted into the document:
> 
>   http://dev.w3.org/html5/spec/#running
> 
> Do we want to align to HTML here?  (We can ignore the defer/async stuff
> for now.)
> 
> --
> Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 9 June 2008 07:26:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 June 2008 07:26:18 GMT