- From: Philip Jägenstedt <notifications@github.com>
 - Date: Thu, 23 Feb 2017 11:08:42 -0800
 - To: w3c/uievents <uievents@noreply.github.com>
 - Cc: Subscribed <subscribed@noreply.github.com>
 - Message-ID: <w3c/uievents/issues/136@github.com>
 
https://w3c.github.io/uievents/#idl-interface-MouseEvent-initializers
Combining Blink and Gecko's IDL would give us something like this:
```WebIDL
void initMouseEvent(DOMString type,
                    optional boolean bubbles = false,
                    optional boolean cancelable = false,
                    optional Window? view = null,
                    optional long detail = 0,
                    optional long screenX = 0,
                    optional long screenY = 0,
                    optional long clientX = 0,
                    optional long clientY = 0,
                    optional boolean ctrlKey = false,
                    optional boolean altKey = false,
                    optional boolean shiftKey = false,
                    optional boolean metaKey = false,
                    optional short button = 0,
                    optional EventTarget? relatedTarget = null);
```
(It would also be good to spell out that removal is not on the table. HTML calls such things [obsolete](https://html.spec.whatwg.org/multipage/obsolete.html) instead of deprecated, which is more in line with how deprecation is used in at least Blink.)
Similar to https://github.com/w3c/uievents/issues/133 and https://github.com/w3c/uievents/issues/134. See also https://github.com/whatwg/dom/issues/387.
-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/136
Received on Thursday, 23 February 2017 19:09:34 UTC