crash if position: absolute applied to <math>, b=151054, r=roc+moz, sr=waterson

git-svn-id: svn://10.0.0.236/trunk@124799 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au
2002-07-09 01:34:12 +00:00
parent 37577d6ad7
commit 96700ff7a9
2 changed files with 8 additions and 6 deletions

View File

@@ -6982,9 +6982,6 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
nsHTMLContainerFrame::CreateViewForFrame(aPresContext, newFrame,
aStyleContext, aParentFrame, PR_FALSE);
// Add the new frame to our list of frame items.
aFrameItems.AddChild(newFrame);
// Process the child content if requested
nsFrameItems childItems;
if (processChildren) {
@@ -7015,6 +7012,10 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
// Add the placeholder frame to the flow
aFrameItems.AddChild(placeholderFrame);
}
else {
// Add the new frame to our list of frame items.
aFrameItems.AddChild(newFrame);
}
}
return rv;
}