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,
|
||||
nsFrameList& aChildList) override
|
||||
{
|
||||
NS_ASSERTION(aListID == kPrincipalList, "unexpected frame list");
|
||||
MOZ_ASSERT(aListID == kPrincipalList || aListID == kBackdropList,
|
||||
"unexpected frame list");
|
||||
nsBlockFrame::SetInitialChildList(aListID, aChildList);
|
||||
if (aListID == kPrincipalList) {
|
||||
// re-resolve our subtree to set any mathml-expected data
|
||||
nsMathMLContainerFrame::RebuildAutomaticDataForChildren(this);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void
|
||||
AppendFrames(ChildListID aListID,
|
||||
|
||||
Reference in New Issue
Block a user