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

Event-propagation properties

From: Brad Pettit <bradp@microsoft.com>
Date: Mon, 8 Apr 2002 18:03:26 -0700
Message-ID: <3013537455C0D1459746B2AE2DF47AEA0521F168@svc-msg-01.northamerica.corp.microsoft.com>
To: <www-dom@w3.org>
Predefined events such as the UIEvent DOMFocusIn have intrinsic bubbling and cancelable properties.

Using the UIEvent for the purpose of an example, if the DOM method initUIEvent is used to initialize an event, and the bubbling and cancelable parameters differ from the spec, do the specified parameters supercede the intrinsic properties defined by the spec?

For example:

var myEvent = document.createEvent("UIEvents")
myEvent.initUIEvent("DOMFocusIn", false, false, window, 0)

Since a DOMFocusIn event is both bubblable and cancelable by definition, do the parameters passed to initUIEvent override that?

Brad Pettit
Microsoft Corp.
Received on Monday, 8 April 2002 21:03:58 UTC

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