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

[Bug 14051] New: Need a spec for MouseEvent

From: <bugzilla@jessica.w3.org>
Date: Tue, 06 Sep 2011 18:38:38 +0000
To: www-dom@w3.org
Message-ID: <bug-14051-4009@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT