Bug 89763 - [Shadow] ShadowRoot.activeElement should use the result of re-targeting algorithm.
Summary: [Shadow] ShadowRoot.activeElement should use the result of re-targeting algor...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Hayato Ito
URL:
Keywords:
Depends on:
Blocks: 63606
  Show dependency treegraph
 
Reported: 2012-06-22 09:25 PDT by Hayato Ito
Modified: 2012-06-22 17:31 PDT (History)
6 users (show)

See Also:


Attachments
testcase (6.01 KB, patch)
2012-06-22 09:31 PDT, Hayato Ito
no flags Details | Formatted Diff | Diff
apply re-targeting (14.85 KB, patch)
2012-06-22 13:59 PDT, Hayato Ito
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hayato Ito 2012-06-22 09:25:17 PDT
The spec is:
  https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#active-element

The current implementation of the ShadowRoot.activeElement does not use the result of re-targeting algorithm.
If a distributed node is focused, shadowroot.activeElement should return the distributed node, but i returns null wrongly.
Comment 1 Hayato Ito 2012-06-22 09:31:42 PDT
Created attachment 149041 [details]
testcase
Comment 2 Hayato Ito 2012-06-22 13:59:26 PDT
Created attachment 149098 [details]
apply re-targeting
Comment 3 Dimitri Glazkov (Google) 2012-06-22 16:41:19 PDT
Comment on attachment 149098 [details]
apply re-targeting

ok.
Comment 4 WebKit Review Bot 2012-06-22 17:31:19 PDT
Comment on attachment 149098 [details]
apply re-targeting

Clearing flags on attachment: 149098

Committed r121079: <http://trac.webkit.org/changeset/121079>
Comment 5 WebKit Review Bot 2012-06-22 17:31:31 PDT
All reviewed patches have been landed.  Closing bug.