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.
*** 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.
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.