W3C home > Mailing lists > Public > public-html@w3.org > October 2011

[Bug 14534] New: Specify the target of the keyboard events when no element has focus

From: <bugzilla@jessica.w3.org>
Date: Fri, 21 Oct 2011 20:25:09 +0000
To: public-html@w3.org
Message-ID: <bug-14534-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14534

           Summary: Specify the target of the keyboard events when no
                    element has focus
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: Olli.Pettay@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: bzbarsky@mit.edu, mike@w3.org,
                    public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Usually key events are dispatched to the focused element of the focused
document. But there are cases when there is no focused element.

Currently Gecko dispatches key events in such case to documentElement, 
webkit to body if there is one. (Opera couldn't handle my testcase and
I haven't yet tested IE)

I'm probably going to change Gecko to follow Webkit in this case since that
behavior follows how activeElement works.

-- 
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 Friday, 21 October 2011 20:25:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:40 GMT