Bug 96988
Summary: | Make ContentSelectorQuery work in content reprojection. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webcomponents-bugzilla |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 96990, 96993, 99139 | ||
Bug Blocks: | 96986, 97151 |
Shinya Kawanaka
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>.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Shinya Kawanaka
ContentSelectorQuery is now working. So let's close this.