W3C home > Mailing lists > Public > public-forms@w3.org > February 2010

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

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 3 Feb 2010 12:13:52 -0800
Message-ID: <e81b48eb1002031213lb4c6c1w1296fe128d644b0@mail.gmail.com>
To: public-forms@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:53 UTC