icecat: add release icecat-140.8.0-2gnu1 for ecne
This commit is contained in:
parent
450538011a
commit
8eb1f1732f
616 changed files with 39955 additions and 33937 deletions
|
|
@ -3583,6 +3583,7 @@ void nsRange::CreateOrUpdateCrossShadowBoundaryRangeIfNeeded(
|
|||
// Nodes at least needs to be in the same document.
|
||||
if (startNode && endNode &&
|
||||
startNode->GetComposedDoc() != endNode->GetComposedDoc()) {
|
||||
ResetCrossShadowBoundaryRange();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -3597,6 +3598,13 @@ void nsRange::CreateOrUpdateCrossShadowBoundaryRangeIfNeeded(
|
|||
return false;
|
||||
}
|
||||
|
||||
// We don't allow ranges to span different NAC subtrees (because we don't
|
||||
// notify when unbinding NAC roots historically). nsRange can already deal
|
||||
// with the "same anonymous subtree" case.
|
||||
if (aContainer->IsInNativeAnonymousSubtree()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AbstractRange::GetClosestCommonInclusiveAncestor only supports
|
||||
// Document and Content nodes.
|
||||
return aContainer->IsDocument() || aContainer->IsContent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue