Previous Message
Next Message

Re: [css-d] Fw: Flash of Unstyled Content affecting your site?

Sent by Matthias Gutfeldt on 29 January 2002 11:11


--- Andrew Clover [EMAIL-REMOVED]:
Jeremy Arnold [EMAIL-REMOVED]:
> When IE encounters a <script src>, it waits until that
> script has been loaded before carrying on rendering the
> page. It has to do this because the script could call
> document.write() to insert content to that point in the
> document. But I don't see any reason it needs to do the same
> with a stylesheet <link>.

The stylesheet might use the :content property,
<http://www.w3.org/TR/CSS2/generate.html#propdef-content>. In that
case, the browser would indeed have to first read the stylesheet and
fetch the content before it displays the final document. However, I
don't know whether this is what is indeed happening.


Matthias


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com
Previous Message
Next Message

Message thread: