[Bug 14051] New: Need a spec for MouseEvent

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14051

           Summary: Need a spec for MouseEvent
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM3 Events
        AssignedTo: schepers@w3.org
        ReportedBy: haraken@chromium.org
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, www-dom@w3.org, dominicc@chromium.org


Background: We are planning to make all Events constructible. For example,
CustomEvent already has the spec for its constructor
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-customevent).

We propose a spec for MouseEvent constructor as follows:

[Constructor(DOMString type, optional MouseEventInit eventInitDict)]
dictionary MouseEventInit : UIEventInit {
  long screenX;
  long screenY;
  long clientX;
  long clientY;
  boolean ctrlKey;
  boolean shiftKey;
  boolean altKey;
  boolean metaKey;
  unsigned short button;
  unsigned short buttons;
  EventTarget relatedTarget;
}

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 6 September 2011 18:38:44 UTC