зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
908c447185
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче