Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151483 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d50fd19d7c
commit
a06e2c19f8
@ -1972,6 +1972,7 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
|
||||
}
|
||||
|
||||
AdjustComputedWidth(PR_FALSE);
|
||||
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -1972,6 +1972,7 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
|
||||
}
|
||||
|
||||
AdjustComputedWidth(PR_FALSE);
|
||||
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user