https://www.w3.org/Bugs/Public/show_bug.cgi?id=25346
Bug ID: 25346
Summary: Redefine initMouseEvent()
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: DOM3 Events
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
At this moment this method is not compatibile with old D2E. Define one
additional parameter (buttons) may throwing error (like in Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=995795).
Actual WebIDL def:
void initMouseEvent (DOMString type, boolean bubbles, boolean cancelable,
Window? view, long detail, long screenX,
long screenY, long clientX, long clientY,
boolean ctrlKey, boolean altKey, boolean shiftKey,
boolean metaKey, short button, unsigned short buttons
EventTarget? relatedTarget);
Maybe it will better if D3E spec add this new parameter at the end of method (
and even make it optional), sth like this:
void initMouseEvent (DOMString type, boolean bubbles, boolean cancelable,
Window? view, long detail, long screenX,
long screenY, long clientX, long clientY,
boolean ctrlKey, boolean altKey, boolean shiftKey,
boolean metaKey, short button, EventTarget? relatedTarget,
optional unsigned short buttons);
Btw, can you brake all init*Event method in D3E spec after some parameters (3
or 4)? Now we have all in one line and this causes an unnecessary scrollbar in
bottom.
--
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.