зеркало из https://github.com/mozilla/gecko-dev.git
Bug 309550. Margins should not collapse through fieldset boundaries. r+sr=dbaron
This commit is contained in:
Родитель
65d8e317d0
Коммит
a51474e56f
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче