Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2011-04-28 Dominic Cooney <dominicc@chromium.org>
Reviewed by Geoffrey Garen. Walk shadow hosts as well as parent nodes when finding opaque roots. https://bugs.webkit.org/show_bug.cgi?id=59571 Remove expectation of failure. * platform/mac/fast/dom/shadow/gc-shadow-expected.txt: Removed. 2011-04-28 Dominic Cooney <dominicc@chromium.org> Reviewed by Geoffrey Garen. Walk shadow hosts as well as parent nodes when finding opaque roots. https://bugs.webkit.org/show_bug.cgi?id=59571 Test: fast/dom/shadow/gc-shadow.html * bindings/js/JSDOMBinding.h: (WebCore::root): Canonical link: https://commits.webkit.org/74927@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
25 additions
and 19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -171,8 +171,8 @@ namespace WebCore { | ||
if (node->inDocument()) | ||
return node->document(); | ||
|
||
while (node->parentOrHostNode()) | ||
node = node->parentOrHostNode(); | ||
return node; | ||
} | ||
|
||