Bug 96988 - Make ContentSelectorQuery work in content reprojection.
Summary: Make ContentSelectorQuery work in content reprojection.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 96990 96993 99139
Blocks: 96986 97151
  Show dependency treegraph
 
Reported: 2012-09-18 00:48 PDT by Shinya Kawanaka
Modified: 2012-10-16 20:48 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinya Kawanaka 2012-09-18 00:48:31 PDT
When we implement content reprojection, we have to make ContentSelectorQuery work if it has distributed elements.

In this system, node's parent might not be the parent for ContentSelectorQuery. Also, node's children might not be the children for ContentSelectorQuery.

<host 1> ---- SR
  |          |
  |- DIV (A) |- <host 2> ---------------SR
  |- DIV (B)       |-<shadow> (D)        |-<content select="DIV"> (E)
                   |-DIV (C)

when resolving <content select="DIV"> (E), we should pass <host 2> as parent, and DIV (A), DIV (B), and DIV (C) as its children.
We should be able to select DIV (A), DIV (B), and DIV (C) for this <content>.
Comment 1 Shinya Kawanaka 2012-10-16 20:48:32 PDT
ContentSelectorQuery is now working. So let's close this.