[XBL] Registering Event Handlers with the handler Element

Hi.

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

6.2 Registering Event Handlers with the handler Element
=======================================================

  For instance, in XHTML the default action for a mouse click on an
  html:a element or one of its descendants is to traverse the link.

That’s not true.  The default action of the mouse click is to dispatch a
DOMActivate event, which is the event whose default action is actually
to traverse the link.


The phase attribute should take keywords rather than numbers, since
these will be easier to remember—especially since 0x78626C44 is never
going to be remembered by authors.  This would then be consistent with
how the key-location and attr-change attributes work.


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:41:51 UTC