The W3C DOM Working Group has published Document Object Model (DOM) Level 3 Events Specification as a note. "This specification defines the Document Object Model Events Level 3, a generic platform- and language-neutral event system which allows registration of event handlers, describes event flow through a tree structure, and provides basic contextual information for each event. The Document Object Model Events Level 3 builds on the Document Object Model Events Level 2." CHanges since DOM Level 2 events include:
stopPropagation() no longer stops event propagation entirely, only in a given event group.CustomEvent, TextEvent, KeyboardEvent, and MutationNameEvent interfaces Event interface has a namespaceURI field and four new methods: isCustom(), stopImmediatePropagation(), isDefaultPrevented(), and initEventNS(). EventTarget interface has four new methods: addEventListenerNS(namespaceURI, type, listener, useCapture, evtGroup)
removeEventListenerNS(namespaceURI, type, listener, useCapture)
willTriggerNS(namespaceURI, type)
hasEventListenerNS(namespaceURI, type)
DocumentEvent interface has a canDispatch(namespaceURI, type) method. initUIEventNS() method.MouseEvent interface has getModifierState(keyIdentifierArg) and initMouseEventNS(...) methods.MutationEvent interface has an initMutationEventNS() method. EventException class has a DISPATCH_REQUEST_ERR constant