- From: Philippe Le Hegaret <plh@w3.org>
- Date: 31 May 2002 14:36:12 -0400
- To: Brad Pettit <bradp@microsoft.com>
- Cc: www-dom@w3.org
On Mon, 2002-04-08 at 21:03, Brad Pettit wrote: > 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? The short answer is yes, they do override the intrinsic behaviors. Philippe
Received on Friday, 31 May 2002 14:36:57 UTC