This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In the latest editor's draft (4 Sep. 2011) which can be found at http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html there is an error in the definition for the MouseWheel.initWheelEvent(...) method. http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-event-type-initWheelEvent In it is a parameter called modifiersListArg of type DOMString. The specification tells you to "Refer to the MouseEvent.initMouseEvent() method for a description of this parameter." Following the link to look at initMouseEvent shows that MouseEvent.initMouseEvent does not accept this parameter - in fact, it does not accept any DOMString parameter! I think that modifiersListArg is an error with the specification. If not, please correct me and tell me what it is for and how to deal with it. Thanks, Brandon
*** Bug 15921 has been marked as a duplicate of this bug. ***
I've fixed this the easy way by copying the other modifierListArgs parameter (expounding on it a bit) and putting it in the WheelEvent.initWheelEvent's parameter list. Please see: http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.214#events-wheelevents Brandon, Dominic (duped bug) can you please review and let me know if you believe this issue is fixed?
It looks fine to me. Thanks for fixing it.
Looks good to me.
Verified by reporter.