Bug 671484 - Change 'ABORT: root should not have auto-height containing block' into an assertion for now to avoid aborting fuzz testing. r=roc

This commit is contained in:
Mats Palmgren 2011-11-04 19:05:35 +01:00
parent 5fc1c83bab
commit e180d0be66

View File

@ -337,8 +337,8 @@ nsSVGOuterSVGFrame::ComputeSize(nsRenderingContext *aRenderingContext,
nsSVGLength2 &height =
content->mLengthAttributes[nsSVGSVGElement::HEIGHT];
NS_ABORT_IF_FALSE(aCBSize.height != NS_AUTOHEIGHT,
"root should not have auto-height containing block");
NS_ASSERTION(aCBSize.height != NS_AUTOHEIGHT,
"root should not have auto-height containing block");
if (height.IsPercentage()) {
NS_ABORT_IF_FALSE(intrinsicSize.height.GetUnit() == eStyleUnit_None,
"GetIntrinsicSize should have reported no "