[XBL] Binding Attachment and Detachment

Hi.

This is a last call comment on the XBL 2 Editor’s Draft (dated 27
October 2006).

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?  Perhaps a
concrete example here would help clarify.

  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…”?


Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
 xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

Received on Thursday, 7 December 2006 10:32:16 UTC