[Webkit-unassigned] [Bug 116930] Node::isDescendantOf should be aware of shadow dom tree

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 20 04:24:17 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=116930

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #1 from Ahmad Saleem <zlip.792 at gmail.com> ---
Webkit GitHub Source:

https://github.com/WebKit/WebKit/blob/b528234195932d576b2fe38eef3bdde6a9e7a099/Source/WebCore/dom/Node.cpp#L1025

____

return &treeScope().rootNode() == &other && !isDocumentNode() && isConnected();

____

Chrome Patch-set modifying to:

return document() == other && !isDocumentNode() && inDocument() && !isInShadowTree();

________

rniwa at webkit.org - Is this needed anymore? Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220820/0f47b104/attachment.htm>


More information about the webkit-unassigned mailing list