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

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 UTC