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


git-svn-id: svn://10.0.0.236/trunk@50656 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-10-14 04:47:18 +00:00
parent 18d4872487
commit bc13612958
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;