Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap

This commit is contained in:
William Chen
2013-12-02 02:26:12 -08:00
parent c448ad3c44
commit f69dba4ca4
30 changed files with 615 additions and 70 deletions

View File

@@ -3540,7 +3540,7 @@ nsCSSFrameConstructor::ConstructFrameFromItemInternal(FrameConstructionItem& aIt
nsIContent* parent = content->GetParent();
TreeMatchContext::AutoAncestorPusher
insertionPointPusher(aState.mTreeMatchContext);
if (parent && parent->IsActiveChildrenElement()) {
if (parent && nsContentUtils::IsContentInsertionPoint(parent)) {
if (aState.mTreeMatchContext.mAncestorFilter.HasFilter()) {
insertionPointPusher.PushAncestorAndStyleScope(parent);
} else {