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

This commit is contained in:
rbs%maths.uq.edu.au 2002-07-09 01:34:12 +00:00
Родитель d74ee16523
Коммит f166816b3d
2 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -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;
}

Просмотреть файл

@ -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;
}