Bug 309550. Margins should not collapse through fieldset boundaries. r+sr=dbaron

This commit is contained in:
roc+%cs.cmu.edu 2006-01-19 18:44:09 +00:00
Родитель 65d8e317d0
Коммит a51474e56f
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -5465,7 +5465,8 @@ nsCSSFrameConstructor::ConstructFieldSetFrame(nsFrameConstructorState& aState,
nsHTMLContainerFrame::CreateViewForFrame(newFrame, aParentFrame, PR_FALSE);
nsIFrame* areaFrame =
NS_NewAreaFrame(mPresShell, NS_BLOCK_SPACE_MGR | NS_BLOCK_SHRINK_WRAP);
NS_NewAreaFrame(mPresShell,
NS_BLOCK_SPACE_MGR | NS_BLOCK_SHRINK_WRAP | NS_BLOCK_MARGIN_ROOT);
// Resolve style and initialize the frame
nsRefPtr<nsStyleContext> styleContext;