Bug 1305928 part 1 - Accept backdrop frame list in MathML container frame. r=dholbert
MozReview-Commit-ID: AJ8cRsDriDo
This commit is contained in:
@@ -426,11 +426,14 @@ public:
|
|||||||
SetInitialChildList(ChildListID aListID,
|
SetInitialChildList(ChildListID aListID,
|
||||||
nsFrameList& aChildList) override
|
nsFrameList& aChildList) override
|
||||||
{
|
{
|
||||||
NS_ASSERTION(aListID == kPrincipalList, "unexpected frame list");
|
MOZ_ASSERT(aListID == kPrincipalList || aListID == kBackdropList,
|
||||||
|
"unexpected frame list");
|
||||||
nsBlockFrame::SetInitialChildList(aListID, aChildList);
|
nsBlockFrame::SetInitialChildList(aListID, aChildList);
|
||||||
|
if (aListID == kPrincipalList) {
|
||||||
// re-resolve our subtree to set any mathml-expected data
|
// re-resolve our subtree to set any mathml-expected data
|
||||||
nsMathMLContainerFrame::RebuildAutomaticDataForChildren(this);
|
nsMathMLContainerFrame::RebuildAutomaticDataForChildren(this);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
virtual void
|
virtual void
|
||||||
AppendFrames(ChildListID aListID,
|
AppendFrames(ChildListID aListID,
|
||||||
|
|||||||
Reference in New Issue
Block a user