From b8945492a14a29cedc18fbc37814eecea9fb210b Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 9 Nov 1998 23:35:44 +0000 Subject: [PATCH] Create a block frame for run-in and compact frames git-svn-id: svn://10.0.0.236/trunk@14314 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/style/src/nsHTMLStyleSheet.cpp | 2 ++ mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp | 2 ++ mozilla/layout/style/nsHTMLStyleSheet.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp index 3a673c2a6b0..41158c8deeb 100644 --- a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp @@ -1238,6 +1238,8 @@ HTMLStyleSheetImpl::ConstructFrameByDisplayType(nsIPresContext* aPresContext, switch (aDisplay->mDisplay) { case NS_STYLE_DISPLAY_BLOCK: case NS_STYLE_DISPLAY_LIST_ITEM: + case NS_STYLE_DISPLAY_RUN_IN: + case NS_STYLE_DISPLAY_COMPACT: rv = NS_NewBlockFrame(aContent, aParentFrame, aNewFrame, PR_FALSE); processChildren = PR_TRUE; break; diff --git a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp index 3a673c2a6b0..41158c8deeb 100644 --- a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp @@ -1238,6 +1238,8 @@ HTMLStyleSheetImpl::ConstructFrameByDisplayType(nsIPresContext* aPresContext, switch (aDisplay->mDisplay) { case NS_STYLE_DISPLAY_BLOCK: case NS_STYLE_DISPLAY_LIST_ITEM: + case NS_STYLE_DISPLAY_RUN_IN: + case NS_STYLE_DISPLAY_COMPACT: rv = NS_NewBlockFrame(aContent, aParentFrame, aNewFrame, PR_FALSE); processChildren = PR_TRUE; break; diff --git a/mozilla/layout/style/nsHTMLStyleSheet.cpp b/mozilla/layout/style/nsHTMLStyleSheet.cpp index 3a673c2a6b0..41158c8deeb 100644 --- a/mozilla/layout/style/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/style/nsHTMLStyleSheet.cpp @@ -1238,6 +1238,8 @@ HTMLStyleSheetImpl::ConstructFrameByDisplayType(nsIPresContext* aPresContext, switch (aDisplay->mDisplay) { case NS_STYLE_DISPLAY_BLOCK: case NS_STYLE_DISPLAY_LIST_ITEM: + case NS_STYLE_DISPLAY_RUN_IN: + case NS_STYLE_DISPLAY_COMPACT: rv = NS_NewBlockFrame(aContent, aParentFrame, aNewFrame, PR_FALSE); processChildren = PR_TRUE; break;