W3C home > Mailing lists > Public > www-svg@w3.org > August 2006

Re: [SVGMobile12] Question on details of when <script> elements execute

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Fri, 11 Aug 2006 03:16:39 -0500
Message-ID: <44DC3CE7.2080201@mit.edu>
To: doug.schepers@vectoreal.com
CC: "'Chris Lilley'" <chris@w3.org>, www-svg@w3.org

Doug Schepers wrote:
> "Altering the xlink:href on a script element in the DOM tree has no effect;"
> might be more accurately (if clumsily) worded as, "Altering the xlink:href
> on a script element in the DOM tree after the existing resource has been
> loaded and placed in the scripting context has no effect;"
> 
> If you change the href before the external resource has been loaded and
> placed in the scripting context, then the *new* resource is loaded instead.
> It is only immutable after the resource is loaded into the scripting
> context.

That's not compatible with HTML UA handling of <html:script>, but at least it's 
well-defined, I think.

> Does this resolve your issue? 

I've lost track of the multiple diffs involved here, and frankly have trouble 
bringing myself to care enough to try to reconstruct the current text.  So I 
don't know.  If you all don't care much about compat with the HTML script 
processing model, it probably does.

-Boris
Received on Friday, 11 August 2006 08:16:52 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:35 GMT