Fix for bug #13497. Made sure to use NS_BLOCK_MARGIN_ROOT flag when creating

the area frame for a scrolled block element
This commit is contained in:
troy@netscape.com
1999-09-13 14:28:34 +00:00
parent bdb20b40ac
commit fa070c424f
2 changed files with 2 additions and 2 deletions

View File

@@ -3987,7 +3987,7 @@ nsCSSFrameConstructor::BuildBlockScrollFrame (nsIPresContext* aPresC
{
// Create an area container for the frame
nsIFrame* scrolledFrame;
NS_NewAreaFrame(&scrolledFrame, NS_BLOCK_SHRINK_WRAP);
NS_NewAreaFrame(&scrolledFrame, NS_BLOCK_SHRINK_WRAP | NS_BLOCK_MARGIN_ROOT);
nsresult rv = BuildScrollFrame(aPresContext, aState, aContent, scrolledFrame, aParentFrame,