Bug 91589
Summary: | [meta] It is confusing that node->shadowAncestorNode() returns node itself if node is not in ShadowDOM | ||
---|---|---|---|
Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> |
Component: | DOM | Assignee: | Web Components Team <webcomponents-bugzilla> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | dglazkov, dominicc, hayato, morrita, tasak, tkent |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 91814 | ||
Bug Blocks: | 91821 |
Shinya Kawanaka
node->shadowAncestorNode() returns node itself if node is not in ShadowDOM.
This might be sometimes useful, however it is very confusing sometimes.
It should return null if it is not in Shadow DOM, or we should have another non-confusing method.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dimitri Glazkov (Google)
+1
Shinya Kawanaka
*** Bug 87230 has been marked as a duplicate of this bug. ***
Shinya Kawanaka
Now it seems this is equivalent to Bug 91821
*** This bug has been marked as a duplicate of bug 91821 ***