Bug 91829

Summary: A FocusScope for a distributed node should not be its TreeScope.
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: 91825    
Attachments:
Description Flags
Fix a FocusScope for distributed nodes none

Description Hayato Ito 2012-07-20 00:44:11 PDT
Current implementation of FocusScope::focusScopeOf(Node*) simply returns the given node's treeScope.
That is wrong if the given node is a distributed node. In such case, we should return a proper focus scope considering composed shadow tree.
Comment 1 Hayato Ito 2012-07-23 04:40:01 PDT
Created attachment 153775 [details]
Fix a FocusScope for distributed nodes
Comment 2 WebKit Review Bot 2012-07-23 17:12:33 PDT
Comment on attachment 153775 [details]
Fix a FocusScope for distributed nodes

Clearing flags on attachment: 153775

Committed r123407: <http://trac.webkit.org/changeset/123407>
Comment 3 WebKit Review Bot 2012-07-23 17:12:36 PDT
All reviewed patches have been landed.  Closing bug.