On Mon, 28 Feb 2011 18:49:48 +0100, Garrett Smith <dhtmlkitc...@gmail.com> wrote:
| DOM Core defines the event and document model the Web platform uses.

That says that DOM Core defines two different things: events and DOM.
Some things might implement DOM Events Core (or a subinterface
thereof) but are unrelated to the DOM. Like XHR.

Could Events Core exist on its own? (You could make DOM Core
conformance require Events Core conformance).

These are the reasons they are intertwined:

 * document.createEvent()
 * mutation events
 * we want Node to inherit from EventTarget
 * both events and documents depend on the same tree concept
 * INVALID_STATE_ERR is shared

Of course, given a mutual dependency they could be split, but I do not really see the point. Should the "Exceptions" section be split out too in your opinion? Given that "Events" and "Exceptions" are quite short and per the above summary quite integral to how everything fits together I think the current division makes sense.


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to