Bug 63522
Summary: | Define the order of traversing elements in shadow content when focusing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Hayato Ito <hayato> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | dglazkov, dominicc, morrita, rolandsteiner, shinyak |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 64072 | ||
Bug Blocks: | 72352, 61409 |
Hayato Ito
Elements in a shadow root can be traversed by bug 61410, but elements in shadow content is not included in this traversal.
It would be nice that we can define a rule so that we can traverse 'elements in shadow root' and 'elements in shadow content' in a 'mixed' way.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dominic Cooney
My gut feeling is that we should follow the XBL-style tree flattening algorithm and then apply focus traversal over that. Thoughts?
Hayato Ito
Yeah, we need a flattened tree somehow. I made this bug depends on bug 64072.
Let me investigate how we should get a 'flattened' tree.
(In reply to comment #1)
> My gut feeling is that we should follow the XBL-style tree flattening algorithm and then apply focus traversal over that. Thoughts?
Dominic Cooney
Per the spec focus navigation works over the flattened (“as-rendered” in spec language) tree.
<http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#focus-navigation>