W3C home > Mailing lists > Public > public-appformats@w3.org > January 2007

Re: [XBL] Binding Attachment and Detachment

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 9 Jan 2007 00:05:49 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: public-appformats@w3.org
Message-ID: <Pine.LNX.4.62.0701090002320.22379@dhalsim.dreamhost.com>
On Thu, 7 Dec 2006, Cameron McCormack wrote:
> 
> 3 Binding Attachment and Detachment
> 
> I think the discussion of when bindings are attached or detached in 
> relation to runnings scripts is unclear.  Is it describing that as soon 
> as, for example, the binding’s element attribute is mutated, bindings 
> are attached/detached, and then control continues on to the script 
> directly after the expression that caused the mutation?

Yes.


> Perhaps a concrete example here would help clarify.

Done.


>   When it becomes known that a binding is to be detached, it must happen
>   such that to any running scripts it appears that the binding was
>   removed immediately, except if the script in question is running as
>   part of the last step of the binding attachment process, in which case
>   the detachment happens after all the bindings being attached have had
>   their methods called.
> 
> Should that be “…the last step of the binding detachment process…”?

No, why would it be?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 9 January 2007 00:05:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:21 GMT