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: Sun, 06 Aug 2006 16:40:01 -0500
Message-ID: <44D661B1.2050805@mit.edu>
To: Chris Lilley <chris@w3.org>
CC: www-svg@w3.org

Chris Lilley wrote:
> You are not comparing like with like.

Ok.  I was sure trying to.

> If you change the href on an already loaded script element

In no case was I doing that.

> If you change it or delete it before its has loaded then, well, it hasn't
> loaded.

Right.  Thesesare the only cases I was considering.  Per the spec send out by 
Andrew, if I change the href after the <script> element has been inserted into 
the document but before the script content has finished loading, the href change 
is ignored and the original load continues, with the results of that load 
executed when they finish loading.  Now the question is what happens if in this 
very circumstance I don't just change the href attribute, but remove the node 
from the DOM, then change the href, then reinsert it into the DOM.

Received on Sunday, 6 August 2006 21:40:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:14 UTC