Bug 1426536 - Remove nsContentUtils::IsContentInsertionPoint

Tag #1375
This commit is contained in:
Matt A. Tobin
2020-04-17 07:36:25 -04:00
parent 3508e79b1f
commit b93fb57514
7 changed files with 27 additions and 116 deletions
+1 -1
View File
@@ -3821,7 +3821,7 @@ nsCSSFrameConstructor::ConstructFrameFromItemInternal(FrameConstructionItem& aIt
// AutoDisplayContentsAncestorPusher above.)
TreeMatchContext::AutoAncestorPusher
insertionPointPusher(aState.mTreeMatchContext);
if (adcp.IsEmpty() && parent && nsContentUtils::IsContentInsertionPoint(parent)) {
if (adcp.IsEmpty() && parent && parent->IsActiveChildrenElement()) {
if (aState.mTreeMatchContext.mAncestorFilter.HasFilter()) {
insertionPointPusher.PushAncestorAndStyleScope(parent);
} else {