W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

[DOM L3 Events] initMouseEvent breaking change from D2E

From: Travis Leithead <travil@microsoft.com>
Date: Thu, 1 Jul 2010 22:26:51 +0000
To: "www-dom@w3.org" <www-dom@w3.org>, Doug Schepers <schepers@w3.org>, "Olli@pettay.fi" <Olli@pettay.fi>
Message-ID: <9768D477C67135458BF978A45BCF9B38119774@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com>
Spec change: remove "buttonsArg" parameter from initMouseEvent

"buttonsArg" should be removed from the DOM L3 Events "initMouseEvent" API because this breaks the parameter order from the DOM L2 Events spec [1], as well as existing browser's implementations of said init method, for example Firefox [2]

[1] http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-MouseEvent
[2] https://developer.mozilla.org/en/DOM/event.initMouseEvent

End user code will be depending on the old event parameter positions, and I'd rather not be able to initialize this parameter than have it break compat. Alternately, we might consider moving it to the end of the parameter list :)

Received on Thursday, 1 July 2010 22:27:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:16 UTC