Table of contentsAppendices |
1.1 IntroductionIntroductionDOM Events is designed with two main goals. The first goal is the design of an event system which allows registration of event listeners, describes event flow through a tree structure. Additionally, the specification will provide standard modules of events for user interface control and document mutation notifications, including defined contextual information for each of these event modules. The second goal of the DOM Events is to provide a common subset of the current event systems used in DOM Level 0 browsers. This is intended to foster interoperability of existing scripts and content. It is not expected that this goal will be met with full backwards compatibility. However, the specification attempts to achieve this when possible. The following sections of the specification define both the specification for the DOM Event Model and a number of conformant event modules designed for use within the model. The DOM Event Model consists of:
Event flows[top]Event flowsThis document specifies an event flow for tree-based structures: [DOM event flow]. While it is expected that HTML and XML applications will follow this event flow, applications might reuse the interfaces defined in this document for non tree-based structure. In that case, it is the responsibility of such application to define their event flow and how it relates to the [DOM event flow]. As example of such use could be found in [DOMLS]. Conformance[top]Conformance
An implementation is DOM Level 3 Events conformant if it
supports the Core module defined in [DOM2Core],
the [DOM event flow] and the interfaces with their
associated semantics defined in [Basic interfaces]. An implementation conforms to a DOM
Level 3 Events module if it conforms to DOM Level 3 Events and
the event types defined in the module. An implementation
conforms to an event type if it conforms to its associated
semantics and DOM interfaces. For example, an implementation
conforms to the DOM Level 3 User Interface Events module (see
[User Interface event types]) if it conforms
to DOM Level 3 Events (i.e. implements all the basic
interfaces), can generate the event types
NOTE:
A DOM application may use the Each event module describes its own feature string in the event module listing. |