diff --git a/mozilla/layout/forms/nsIsIndexFrame.cpp b/mozilla/layout/forms/nsIsIndexFrame.cpp index 104551a4bbf..b5e90749e11 100644 --- a/mozilla/layout/forms/nsIsIndexFrame.cpp +++ b/mozilla/layout/forms/nsIsIndexFrame.cpp @@ -100,7 +100,7 @@ NS_NewIsIndexFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame) nsIsIndexFrame::nsIsIndexFrame() { //Shrink the area around it's contents - SetFlags(NS_BLOCK_SHRINK_WRAP); + SetFlags(NS_BLOCK_SHRINK_WRAP | NS_BLOCK_SPACE_MGR); } nsIsIndexFrame::~nsIsIndexFrame() diff --git a/mozilla/layout/html/forms/src/nsIsIndexFrame.cpp b/mozilla/layout/html/forms/src/nsIsIndexFrame.cpp index 104551a4bbf..b5e90749e11 100644 --- a/mozilla/layout/html/forms/src/nsIsIndexFrame.cpp +++ b/mozilla/layout/html/forms/src/nsIsIndexFrame.cpp @@ -100,7 +100,7 @@ NS_NewIsIndexFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame) nsIsIndexFrame::nsIsIndexFrame() { //Shrink the area around it's contents - SetFlags(NS_BLOCK_SHRINK_WRAP); + SetFlags(NS_BLOCK_SHRINK_WRAP | NS_BLOCK_SPACE_MGR); } nsIsIndexFrame::~nsIsIndexFrame()