Bug 1021564 - Make sure that FinishAndStoreOverflow is called for MathML frames even if they are in an error state. r=roc

This commit is contained in:
Markus Stange 2014-08-30 18:22:42 +02:00
Родитель 0619a8c79d
Коммит e5d05a9461
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -471,6 +471,7 @@ nsMathMLContainerFrame::FinalizeReflow(nsRenderingContext& aRenderingContext,
// If placeOrigin is false we should reach Place() with aPlaceOrigin == true
// through Stretch() eventually.
if (NS_MATHML_HAS_ERROR(mPresentationData.flags) || NS_FAILED(rv)) {
GatherAndStoreOverflow(&aDesiredSize);
DidReflowChildren(GetFirstPrincipalChild());
return rv;
}