W3C home > Mailing lists > Public > www-style@w3.org > May 2007

Re: Style sheet loading

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 11 May 2007 13:16:20 -0500
Message-ID: <4644B2F4.6080406@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: Ian Hickson <ian@hixie.ch>, www-style@w3.org

Anne van Kesteren wrote:
>> One other note.  Does the behavior depend on whether the node is 
>> actually in a document at the time?  It very well might, since the 
>> sheet load doesn't start until insertion in the document, right?
> 
> Is that actually defined somewhere? <img> and <script> start loading 
> simply based on mutation of the src attribute for instance.

It's not defined either direction.  In Gecko, it works that way, because the 
load start is when sheets are inserted into the cascade order, and you need to 
know your position in the document to do that.

-Boris
Received on Friday, 11 May 2007 18:16:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT