b=16238. Fix discussed with evaughan@netscape. One line change to make sure

the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements
This commit is contained in:
troy%netscape.com 1999-10-14 04:47:18 +00:00
parent 908c447185
commit 70d79a10be
2 changed files with 4 additions and 2 deletions

View File

@ -4752,7 +4752,8 @@ nsCSSFrameConstructor::ConstructFrameByDisplayType(nsIPresContext* aPre
nsIFrame* scrolledFrame = nsnull;
NS_NewAreaFrame(&scrolledFrame, NS_BLOCK_SHRINK_WRAP | NS_BLOCK_MARGIN_ROOT);
NS_NewAreaFrame(&scrolledFrame, NS_BLOCK_SPACE_MGR |
NS_BLOCK_SHRINK_WRAP | NS_BLOCK_MARGIN_ROOT);
nsIStyleContext* newStyle = nsnull;

View File

@ -4752,7 +4752,8 @@ nsCSSFrameConstructor::ConstructFrameByDisplayType(nsIPresContext* aPre
nsIFrame* scrolledFrame = nsnull;
NS_NewAreaFrame(&scrolledFrame, NS_BLOCK_SHRINK_WRAP | NS_BLOCK_MARGIN_ROOT);
NS_NewAreaFrame(&scrolledFrame, NS_BLOCK_SPACE_MGR |
NS_BLOCK_SHRINK_WRAP | NS_BLOCK_MARGIN_ROOT);
nsIStyleContext* newStyle = nsnull;