mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-06 16:38:55 +00:00
Make sure that a block element following left float clears it when it can't fit next to it.
(2009 BMO bug) This resolves #732
This commit is contained in:
@@ -164,7 +164,8 @@ nsBlockReflowContext::ComputeCollapsedBStartMargin(const nsHTMLReflowState& aRS,
|
||||
availSpace);
|
||||
// Record that we're being optimistic by assuming the kid
|
||||
// has no clearance
|
||||
if (kid->StyleDisplay()->mBreakType != NS_STYLE_CLEAR_NONE) {
|
||||
if (kid->StyleDisplay()->mBreakType != NS_STYLE_CLEAR_NONE ||
|
||||
!nsBlockFrame::BlockCanIntersectFloats(kid)) {
|
||||
*aMayNeedRetry = true;
|
||||
}
|
||||
if (ComputeCollapsedBStartMargin(innerReflowState, aMargin,
|
||||
|
||||
Reference in New Issue
Block a user