mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 988655 - Stop returning true for shadow DOM nodes in nsIContent::IsInAnonymousSubtree. r=mrbkap
This commit is contained in:
parent
2a621e5867
commit
bf0a65cde1
@ -240,7 +240,7 @@ public:
|
||||
static_cast<nsIContent*>(SubtreeRoot())->IsInNativeAnonymousSubtree()),
|
||||
"Must have binding parent when in native anonymous subtree which is in document.\n"
|
||||
"Native anonymous subtree which is not in document must have native anonymous root.");
|
||||
return IsInNativeAnonymousSubtree() || GetBindingParent() != nullptr;
|
||||
return IsInNativeAnonymousSubtree() || (!HasFlag(NODE_IS_IN_SHADOW_TREE) && GetBindingParent() != nullptr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user