Bug 89763

Summary: [Shadow] ShadowRoot.activeElement should use the result of re-targeting algorithm.
Product: WebKit Reporter: Hayato Ito <hayato>
Component: DOMAssignee: Hayato Ito <hayato>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dominicc, morrita, shinyak, tasak, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 63606    
Attachments:
Description Flags
testcase
none
apply re-targeting none

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.