зеркало из https://github.com/mozilla/pjs.git
Bug 292295. Blocks with clearance are not actually top-margin-roots. Their top margin is still managed by the parent block if there is one. Fixes an Acid2 issue. r+sr=dbaron,a=asa
This commit is contained in:
Родитель
cce8f8a587
Коммит
4084e32dcd
|
@ -734,7 +734,7 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
|
|||
}
|
||||
|
||||
nsBlockReflowState state(aReflowState, aPresContext, this, aMetrics,
|
||||
aReflowState.mFlags.mHasClearance || (NS_BLOCK_MARGIN_ROOT & mState),
|
||||
(NS_BLOCK_MARGIN_ROOT & mState),
|
||||
(NS_BLOCK_MARGIN_ROOT & mState));
|
||||
|
||||
// The condition for doing Bidi resolutions includes a test for the
|
||||
|
|
Загрузка…
Ссылка в новой задаче