mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
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:
parent
908c447185
commit
70d79a10be
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user