Bug 1426536 - Remove nsContentUtils::IsContentInsertionPoint

Tag #1375
This commit is contained in:
Matt A. Tobin 2020-04-17 07:36:25 -04:00 committed by Roy Tam
commit d9112daf48
7 changed files with 27 additions and 116 deletions

View file

@ -611,7 +611,7 @@ nsFrameManagerBase::UndisplayedMap::GetApplicableParent(nsIContent* aParent)
// be a <xbl:children> element) but the parent in the frame tree would be the
// insertion parent (parent of the <xbl:children> element). Here the children
// elements are normalized to the insertion parent to correct for the mismatch.
if (aParent && nsContentUtils::IsContentInsertionPoint(aParent)) {
if (aParent && aParent->IsActiveChildrenElement()) {
return aParent->GetParent();
}