This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21078 - EventInit should have default values for bubbles and cancelable
Summary: EventInit should have default values for bubbles and cancelable
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 19:02 UTC by Olli Pettay
Modified: 2013-02-22 12:31 UTC (History)
2 users (show)

See Also:


Attachments

Description Olli Pettay 2013-02-21 19:02:02 UTC
bubbles and cancelable are false by default when event is created, and
it would make the spec easier to understand if that was the
case in the dictionary too.
Also, in Gecko it simplifies the implementation if we have
default values.
Comment 1 Anne 2013-02-22 09:31:59 UTC
I don't see the point given document.createEvent(). Maybe for events that cannot be instantiated via that method?