Re: [XBL] Attachment and Detachment

On Wed, 6 Dec 2006, Cyril Concolato wrote:
>
> In Section 4 "Binding Attachment and Detachment", what does 'the element 
> has been created' mean ? For instance, in a SAX parser, may this mean as 
> soon as the start event has been called ?

No, it means, as soon as the DOM Element object for the element has been 
created. Spec updated to be clearer.


> What are the consequences of  "[...] such that to any running scripts it
> appears that the binding was applied immediately." ? In particular, Section
> 4.4 says "this attachment is not necessarily synchronous". Do I understand
> correctly:
> - if the binding is loaded, the attachment should be instantaneous (almost
> synchronous)
> - if the binding is not loaded, the attachment is not synchronous ?

Yes, you understand correctly.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 8 January 2007 21:10:50 UTC