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 24729 - WeelEvent inherits from MouseEvent, but WheelEventInit (UIevents) doesn't from MouseEventInit
Summary: WeelEvent inherits from MouseEvent, but WheelEventInit (UIevents) doesn't fro...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Travis Leithead [MSFT]
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 10:02 UTC by Vyacheslav Matva
Modified: 2014-03-05 00:32 UTC (History)
4 users (show)

See Also:


Attachments

Description Vyacheslav Matva 2014-02-19 10:02:14 UTC
Interface WeelEvent inherits from MouseEvent, but dictionary WheelEventInit (UIevents) doesn't from dictionary MouseEventInit. It looks inconsistent.
I'm not sure if it is bug or not.
If no - maybe adding Note section in the spec would help to avoid confuse of readers.
Comment 1 Boris Zbarsky 2014-02-19 14:01:40 UTC
Looks like a pretty clear bug to me.  Certainly in Gecko's implementation the WheelEventInit inherits from MouseEventInit.  Otherwise you can't properly initialize the event.
Comment 2 Gary Kacmarcik 2014-03-05 00:32:49 UTC
Fixed - respec requires a space before the ':' when inheriting.