From f8aed9d5def391354b357411fd05da9089801f03 Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Fri, 20 Nov 1998 21:09:54 +0000 Subject: [PATCH] took out a dumb debug printf git-svn-id: svn://10.0.0.236/trunk@15048 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/style/src/nsHTMLStyleSheet.cpp | 6 ++---- mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp | 6 ++---- mozilla/layout/style/nsHTMLStyleSheet.cpp | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp index 74dfb8980f7..d5c2cf13e9a 100644 --- a/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp @@ -969,7 +969,8 @@ HTMLStyleSheetImpl::ConstructTableFrame(nsIPresContext* aPresContext, aPresContext->ResolvePseudoStyleContextFor (aContent, nsHTMLAtoms::tablePseudo, aStyleContext); - innerFrame->SetStyleContext(aPresContext, aStyleContext);//innerTableStyleContext); + innerFrame->SetStyleContext(aPresContext, aStyleContext); + // this should be "innerTableStyleContext" but I haven't tested that thoroughly yet // Iterate the child content nsIFrame* lastChildFrame = nsnull; @@ -1677,9 +1678,6 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, // any frame at all. const nsStyleDisplay* display = (const nsStyleDisplay*) styleContext->GetStyleData(eStyleStruct_Display); - if (NS_STYLE_DISPLAY_TABLE==display->mDisplay) { - printf ("HELP!!!\n"); - } if (NS_STYLE_DISPLAY_NONE == display->mDisplay) { aFrameSubTree = nsnull; rv = NS_OK; diff --git a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp index 74dfb8980f7..d5c2cf13e9a 100644 --- a/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/html/style/src/nsHTMLStyleSheet.cpp @@ -969,7 +969,8 @@ HTMLStyleSheetImpl::ConstructTableFrame(nsIPresContext* aPresContext, aPresContext->ResolvePseudoStyleContextFor (aContent, nsHTMLAtoms::tablePseudo, aStyleContext); - innerFrame->SetStyleContext(aPresContext, aStyleContext);//innerTableStyleContext); + innerFrame->SetStyleContext(aPresContext, aStyleContext); + // this should be "innerTableStyleContext" but I haven't tested that thoroughly yet // Iterate the child content nsIFrame* lastChildFrame = nsnull; @@ -1677,9 +1678,6 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, // any frame at all. const nsStyleDisplay* display = (const nsStyleDisplay*) styleContext->GetStyleData(eStyleStruct_Display); - if (NS_STYLE_DISPLAY_TABLE==display->mDisplay) { - printf ("HELP!!!\n"); - } if (NS_STYLE_DISPLAY_NONE == display->mDisplay) { aFrameSubTree = nsnull; rv = NS_OK; diff --git a/mozilla/layout/style/nsHTMLStyleSheet.cpp b/mozilla/layout/style/nsHTMLStyleSheet.cpp index 74dfb8980f7..d5c2cf13e9a 100644 --- a/mozilla/layout/style/nsHTMLStyleSheet.cpp +++ b/mozilla/layout/style/nsHTMLStyleSheet.cpp @@ -969,7 +969,8 @@ HTMLStyleSheetImpl::ConstructTableFrame(nsIPresContext* aPresContext, aPresContext->ResolvePseudoStyleContextFor (aContent, nsHTMLAtoms::tablePseudo, aStyleContext); - innerFrame->SetStyleContext(aPresContext, aStyleContext);//innerTableStyleContext); + innerFrame->SetStyleContext(aPresContext, aStyleContext); + // this should be "innerTableStyleContext" but I haven't tested that thoroughly yet // Iterate the child content nsIFrame* lastChildFrame = nsnull; @@ -1677,9 +1678,6 @@ HTMLStyleSheetImpl::ConstructFrame(nsIPresContext* aPresContext, // any frame at all. const nsStyleDisplay* display = (const nsStyleDisplay*) styleContext->GetStyleData(eStyleStruct_Display); - if (NS_STYLE_DISPLAY_TABLE==display->mDisplay) { - printf ("HELP!!!\n"); - } if (NS_STYLE_DISPLAY_NONE == display->mDisplay) { aFrameSubTree = nsnull; rv = NS_OK;