This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29136 - Keyboard events should specify their target when more than 1 document exists
Summary: Keyboard events should specify their target when more than 1 document exists
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - UI Events (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Gary Kacmarcik
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-18 22:48 UTC by Jeffrey Yasskin
Modified: 2015-10-07 04:51 UTC (History)
2 users (show)

See Also:


Attachments

Description Jeffrey Yasskin 2015-09-18 22:48:51 UTC
https://w3c.github.io/uievents/#event-type-keydown defines Event.target as "focused element processing the key event or if no element focused, then the body element if available, otherwise the root element". However, "the body element" and "the root element" aren't uniquely defined within a UA. The UA may have multiple browsing contexts, and each browsing context can contain multiple documents.
Comment 1 Gary Kacmarcik 2015-10-07 04:51:54 UTC
Now tracking as: https://github.com/w3c/uievents/issues/52