W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

RE: Mutation Events and Null values

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Tue, 14 May 2002 13:33:37 -0600
Message-ID: <4D62A7266F41D611B92C00E018C1C19C0DD589@thor.aeathtl.com>
To: "'Brad Pettit '" <bradp@microsoft.com>
Cc: "'www-dom@w3.org'" <www-dom@w3.org>
The motivation for initMutationEvent is to enable DOM users to dispatch
their own events that can be adequately represented using the MutationEvent
interface.  There should not be any requirement that an events generated by
a DOM implementation (like the standard mutation events) use
initMutationEvent to prepare their events for dispatching.  The requirements
placed on the standard mutation events fired by the dom implementation and
the requirements on the parameters are orthogonal.

For example, a dom user could use initMutationEvent to prepare a
MutationEvent of type "ExampleCorp.PriceMarkdown".  That event might be
defined so that prevValue is required to be provided, but initMutationEvent
cannot enforce it since it has no knowledge of that event type.
Received on Tuesday, 14 May 2002 15:31:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC