mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
Bug 309550. Margins should not collapse through fieldset boundaries. r+sr=dbaron
This commit is contained in:
parent
65d8e317d0
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user