This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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 1em;width:95%;margin:auto;text-align:center;}body{height:100px;overflow:scroll;margin:0;border:inset orange 1em;}html:before {content:"<html>";line-height:1;padding:0;font-size:200px;}body:before {content:"<body>";line-height:1;padding:0;font-size:200px;}</style><body tabindex="1 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.
A better dataURI, for trying the test document: data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWw+DQo8aHRtbC B0YWJpbmRleD0iLTEiPg0KIDxzdHlsZT4NCiAgIGh0bWx7aGVpZ2h0OjEwMHB4O292 ZXJmbG93OnNjcm9sbDtib3JkZXI6aW5zZXQgcmVkIDFlbTt3aWR0aDo5NSU7bWFyZ2 luOmF1dG87dGV4dC1hbGlnbjpjZW50ZXI7fQ0KICAgYm9keXtoZWlnaHQ6MTAwcHg7 b3ZlcmZsb3c6c2Nyb2xsO21hcmdpbjowO2JvcmRlcjppbnNldCBvcmFuZ2UgMWVtO3 0NCiAgIGh0bWw6YmVmb3JlIHtjb250ZW50OiI8aHRtbD4iO2xpbmUtaGVpZ2h0OjE7 cGFkZGluZzowO2ZvbnQtc2l6ZToyMDBweDt9DQogICBib2R5OmJlZm9yZSB7Y29udG VudDoiPGJvZHk+IjtsaW5lLWhlaWdodDoxO3BhZGRpbmc6MDtmb250LXNpemU6MjAw cHg7fQ0KPC9zdHlsZT4NCjxib2R5IHRhYmluZGV4PSIxIj4=
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Rejected Change Description: no spec change Rationale: As far as I can tell from this test: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1226 ...the spec is correct. The document does scroll, but that just seems to be the UA's behaviour for when a space bar is hit when no element has focus; the events are in fact targetted at the body element.