W3C home > Mailing lists > Public > www-html@w3.org > November 2005

Re: Loading order

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 07 Nov 2005 02:27:45 +1100
Message-ID: <436E20F1.9090204@lachy.id.au>
To: Dario De Judicibus <ddj@mclink.it>
CC: www-html@w3.org

Dario De Judicibus wrote:
>>> No info is provoded in the specifications about document loading 
>>> order. I think it should.
>> 
>> Why?
> 
> Well, I experienced situations where the javascript code inside a
> document loade in frame A could not operate correctly until another
> document was loaded in frame B. That is, javascript stuff operating
> cross-documents should be activated ONLY when alla documents are
> loaded.

Even if an order were specified in which the documents must be 
requested, there are still factors out of control of the spec that would 
make such behaviour unreliable for anything like that.  e.g. If it was 
defined that document A must be loaded first and is thus requested first 
by the browser, browsers aren't going to wait for document A to load 
before requesting B and there's no guarantee that A will finish loading 
first.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Sunday, 6 November 2005 15:28:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT