Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
MozReview-Commit-ID: 1GfoFEGhyka
This commit is contained in:
@@ -1781,12 +1781,12 @@ nsStyleSet::ResolveStyleWithoutAnimation(dom::Element* aTarget,
|
||||
}
|
||||
|
||||
already_AddRefed<nsStyleContext>
|
||||
nsStyleSet::ResolveStyleForNonElement(nsStyleContext* aParentContext)
|
||||
nsStyleSet::ResolveStyleForNonElement(nsStyleContext* aParentContext,
|
||||
nsIAtom* aPseudoTag)
|
||||
{
|
||||
return GetContext(aParentContext, mRuleTree, nullptr,
|
||||
nsCSSAnonBoxes::mozNonElement,
|
||||
CSSPseudoElementType::AnonBox, nullptr,
|
||||
eNoFlags);
|
||||
MOZ_ASSERT(nsCSSAnonBoxes::IsNonElement(aPseudoTag));
|
||||
return GetContext(aParentContext, mRuleTree, nullptr, aPseudoTag,
|
||||
CSSPseudoElementType::AnonBox, nullptr, eNoFlags);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user