Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron
This commit is contained in:
@@ -1658,6 +1658,11 @@ nsHTMLReflowState::InitConstraints(nsPresContext* aPresContext,
|
||||
const nsMargin* aBorder,
|
||||
const nsMargin* aPadding)
|
||||
{
|
||||
// Since we are in reflow, we don't need to store these properties anymore
|
||||
frame->DeleteProperty(nsGkAtoms::usedBorderProperty);
|
||||
frame->DeleteProperty(nsGkAtoms::usedPaddingProperty);
|
||||
frame->DeleteProperty(nsGkAtoms::usedMarginProperty);
|
||||
|
||||
// If this is the root frame, then set the computed width and
|
||||
// height equal to the available space
|
||||
if (nsnull == parentReflowState) {
|
||||
|
||||
Reference in New Issue
Block a user