W3C home > Mailing lists > Public > www-svg@w3.org > September 2004

Re: XBL in document fragments

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 28 Sep 2004 21:37:41 -0500
Message-ID: <415A1FF5.1070701@mit.edu>
To: Erik Arvidsson <erik@eae.net>
CC: www-svg@w3.org

Erik Arvidsson wrote:
> I'm not sure what you mean here. If the loading is synchronous no other 
> events can interrupt it.

In that case the UA will seem hung to the user until the load completes 
(possibly quite a long time).  That's not really desirable.

> If the binding document is already loaded then this should be an issue

You mean "should not be"?  What if it's not already loaded?

> I don't see a reason for not loading the binding documents during the 
> page load (just like CSS files).

CSS files are not loaded "during page load" in the way you seem to think (for 
example, khtml loads them asynchronously with parsing the rest of the document; 
Gecko will hopefully do so as well, in the near future).

As it is, however, it is possible for script to execute before the CSS files are 
loaded even in browsers where loading of CSS blocks the parser.  Such scripts 
can ask for style information about the page, and they'll see a state with the 
CSS not loaded.  It sounds like you're trying to prevent this situation arising 
with XBL, and it's not clear to me how you prpose to do that.

-Boris
Received on Wednesday, 29 September 2004 02:47:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:55 UTC