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:
roc+%cs.cmu.edu 2005-06-16 02:54:57 +00:00
Родитель cce8f8a587
Коммит 4084e32dcd
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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