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

[Bug 13941] New: SPACE key scrolling when no element is focused, is targetet at <html> - and not at <body>

From: <bugzilla@jessica.w3.org>
Date: Sun, 28 Aug 2011 22:02:57 +0000
To: public-html@w3.org
Message-ID: <bug-13941-2495@http.www.w3.org/Bugs/Public/>

           Summary: SPACE key scrolling when no element is focused, is
                    targetet at <html> - and not at <body>
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://dev.w3.org/html5/spec/editing#focus
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

The following definition is either incorrect or impresice:

  when no element is focused, key events received by
  the document must be targeted at the body element.

If the above statement was true, then for the following demo-document, to press
the SPACE key would start to scroll the <body> element - however as a matter of
fact, nothing happens:

data:text/html;charset=UTF-8,<!DOCTYPE html><html
tabindex="-1"><style>html{height:100px;overflow:scroll;border:inset red
orange 1em;}html:before

The correct thing to say should EITHER be that when no element is focused, then
key  events are directed at <html>, OR the spect should ad an exception for
scrolling events.

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 Sunday, 28 August 2011 22:02:58 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:16 UTC