Bug 59979 - Allow access keys to be used in shadow DOM
Summary: Allow access keys to be used in shadow DOM
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Roland Steiner
URL:
Keywords:
Depends on:
Blocks: 59805 59832
  Show dependency treegraph
 
Reported: 2011-05-02 17:00 PDT by Roland Steiner
Modified: 2011-05-03 16:08 PDT (History)
4 users (show)

See Also:


Attachments
Patch (6.45 KB, patch)
2011-05-03 15:20 PDT, Roland Steiner
dglazkov: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Steiner 2011-05-02 17:00:10 PDT
It should be possible to assign an access key to elements in a shadow DOM. Currently, only elements in the light tree are considered.
Comment 1 Alexey Proskuryakov 2011-05-02 23:10:34 PDT
Could you please clarify why this is necessary?
Comment 2 Roland Steiner 2011-05-03 10:29:01 PDT
User-defined components could have, e.g., a link to a help page, or an [O]K and [C]ancel button embedded that have an access key assigned.
Comment 3 Roland Steiner 2011-05-03 15:20:45 PDT
Created attachment 92147 [details]
Patch

Moving access key members and methods back into Document from TreeScope, traverse into shadow DOM when building access key map.
Comment 4 Roland Steiner 2011-05-03 16:08:30 PDT
Committed r85680: <http://trac.webkit.org/changeset/85680>