Related to the DOM* events deprecation in DOM 3: could XForms support load/unload?

All,

During today's call we talked about adopting the click, focus/blur,
focusin/focusout from DOM Events. I am wondering if it would makes
sense to adopt load/unload [1] as well.

The benefit would be the ability to use a shorter and more widely
known event name.

DOM Events 3 says about load that "If this event type is dispatched,
implementations are required to dispatch this event at least on the
Document node." This seems to imply that an implementation is allowed
to dispatch it to other nodes.

Since that event doesn't bubble, it would be safe for an XForms
processor to dispatch load to XForms models.

One question is at which point in the lifecycle of XForms
initialization would this take place. Would it replace xforms-ready?

I am not 100% convinced that this would make sense but wondering what
people think.

-Erik

[1] http://dev.w3.org//2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-type-load

Received on Wednesday, 3 February 2010 20:14:47 UTC