Re: Style sheet loading

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.


Received on Friday, 11 May 2007 18:16:51 UTC