diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-04 21:07:48 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-04 21:07:48 +0200 |
commit | e42166a5bacbd034538b0df9616eefad5c90e26e (patch) | |
tree | 83adfd9f58cde798a432371c2dc254a25ab8cf31 /dom/webidl/MouseScrollEvent.webidl | |
parent | 26975ccf5609c787f088e462a72b24bd1a555126 (diff) | |
download | UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.gz UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.lz UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.tar.xz UXP-e42166a5bacbd034538b0df9616eefad5c90e26e.zip |
Make all arguments to init*Event() optional except the first
This resolves #810.
Diffstat (limited to 'dom/webidl/MouseScrollEvent.webidl')
-rw-r--r-- | dom/webidl/MouseScrollEvent.webidl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/dom/webidl/MouseScrollEvent.webidl b/dom/webidl/MouseScrollEvent.webidl index aa9e30fd2..c1e52bd8c 100644 --- a/dom/webidl/MouseScrollEvent.webidl +++ b/dom/webidl/MouseScrollEvent.webidl @@ -12,19 +12,19 @@ interface MouseScrollEvent : MouseEvent readonly attribute long axis; void initMouseScrollEvent(DOMString type, - boolean canBubble, - boolean cancelable, - Window? view, - long detail, - long screenX, - long screenY, - long clientX, - long clientY, - boolean ctrlKey, - boolean altKey, - boolean shiftKey, - boolean metaKey, - unsigned short button, - EventTarget? relatedTarget, - long axis); + optional boolean canBubble = 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, + optional long axis = 0); }; |