mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 883514: During block reflow, check floats after reflowing bullet frames, instead of before. r=dbaron
This commit is contained in:
parent
24c69b775f
commit
f6dbbf0736
@ -1046,8 +1046,6 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
|
||||
#endif
|
||||
}
|
||||
|
||||
CheckFloats(state);
|
||||
|
||||
// Place the "marker" (bullet) frame if it is placed next to a block
|
||||
// child.
|
||||
//
|
||||
@ -1091,6 +1089,8 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
|
||||
// Otherwise just leave the bullet where it is, up against our top padding.
|
||||
}
|
||||
|
||||
CheckFloats(state);
|
||||
|
||||
// Compute our final size
|
||||
nscoord bottomEdgeOfChildren;
|
||||
ComputeFinalSize(*reflowState, state, aMetrics, &bottomEdgeOfChildren);
|
||||
|
Loading…
Reference in New Issue
Block a user