W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2010

[Bug 10595] New: contextmenu event should be a MouseEvent

From: <bugzilla@jessica.w3.org>
Date: Thu, 09 Sep 2010 23:27:45 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-10595-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10595

           Summary: contextmenu event should be a MouseEvent
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/spec/interactive-elements.html
                    #context-menus
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: adrianba@microsoft.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


Summary:
The HTML 5 specification declares that a "contextmenu" event should be fired as
a "simple" event. However, several websites rely on the mouse coordinate
positions returned by the contextmenu event object in IE8, and Firefox treats
the event as a "MouseEvent" object. For interoperability with existing browsers
and site-compatibility concerns, we recommend that the "contextmenu" event be a
MouseEvent.

Existing text:
"When an element's context menu is requested (e.g. by the user right-clicking
the element, or pressing a context menu key), the UA must fire a simple event
named contextmenu that bubbles and is cancelable at the element for which the
menu was requested." (4.11.4.3 Context menus)

Proposed text:
"When an element's context menu is requested (e.g. by the user right-clicking
the element, or pressing a context menu key), the UA must fire a MouseEvent
named contextmenu that bubbles and is cancelable at the element for which the
menu was requested."

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 9 September 2010 23:27:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:24 UTC