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

Re: <script> elements running only once

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 9 Jun 2008 01:07:01 -0700
Cc: public-svg-wg@w3.org
Message-Id: <D66BB807-126E-455A-AF63-D8A6578F9654@apple.com>
To: Cameron McCormack <cam@mcc.id.au>

On Jun 9, 2008, at 12:58 AM, Cameron McCormack wrote:

> Hi Doug.
> Doug Schepers:
>> I think aligning is a good idea.  I recall the discussion behind  
>> this,
>> and I thought we had pretty good rationales, but there may be good
>> reasons to change it.
>> On the other hand, perhaps we should also raise the issue with the  
>> WG... it might be that the behavior we prescribe actually fits better
>> (or equally well) with what existing content expects.  How about
>> Safari/WebKit and IE... how do they behave?
> Latest WebKit and Renesis 0.7 donít execute <svg:script> elements
> inserted into a document at all.  I donít have ASV installed to test.
> IE, well, it doesnít implement SVG. :)

We consider this a bug, we'd like <svg:script> to work the same in  
this regard as <html:script> (though I don't think the spec really  
says either way).

HTML <script> elements that are not created by the parser will load/ 
run when inserted into the document (ones created by the parser run as  
part of the parsing process.)

  - Maciej
Received on Monday, 9 June 2008 08:07:43 UTC

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