From e8a410eac413387b3d372a08412f1bf1ea486be0 Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Sat, 1 Aug 1998 02:36:31 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://10.0.0.236/trunk@7013 18797224-902f-48f8-a5cc-f745e15eee43 --- .../layout/html/table/src/BasicTableLayoutStrategy.cpp | 10 +++++----- mozilla/layout/tables/BasicTableLayoutStrategy.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp b/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp index 46b1cbbf972..a2de9124cb0 100644 --- a/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp +++ b/mozilla/layout/html/table/src/BasicTableLayoutStrategy.cpp @@ -184,13 +184,13 @@ PRBool BasicTableLayoutStrategy::BalanceColumnWidths(nsIStyleContext *aTableStyl //availWidth = mMinTableWidth; // bump it up to the min // Step 3 - assign the width of all proportional-width columns in the remaining space - //if (PR_TRUE==gsDebug) + if (PR_TRUE==gsDebug) { printf ("BalanceColumnWidths with aMaxWidth = %d, availWidth = %d\n", aMaxWidth, availWidth); printf ("\t\t specifiedTW = %d, min/maxTW = %d %d\n", specifiedTableWidth, mMinTableWidth, mMaxTableWidth); printf ("\t\t reflow reason = %d\n", aReflowState.reason); } - //if (PR_TRUE==gsDebug) + if (PR_TRUE==gsDebug) { printf("\n%p: BEGIN BALANCE COLUMN WIDTHS\n", mTableFrame); for (PRInt32 i=0; iGetAdjustedMinColWidth() + colInset; } mMinTableWidth = PR_MAX(mMinTableWidth, sumOfAdjustedColMinWidths); - printf("minTW=%d, maxTW=%d with DMCW=%d\n", mMinTableWidth, mMaxTableWidth, sumOfAdjustedColMinWidths); + if (gsDebug) printf("minTW=%d, maxTW=%d with DMCW=%d\n", mMinTableWidth, mMaxTableWidth, sumOfAdjustedColMinWidths); } // take the fixed space spanned by the columns in aColSpanList diff --git a/mozilla/layout/tables/BasicTableLayoutStrategy.cpp b/mozilla/layout/tables/BasicTableLayoutStrategy.cpp index 46b1cbbf972..a2de9124cb0 100644 --- a/mozilla/layout/tables/BasicTableLayoutStrategy.cpp +++ b/mozilla/layout/tables/BasicTableLayoutStrategy.cpp @@ -184,13 +184,13 @@ PRBool BasicTableLayoutStrategy::BalanceColumnWidths(nsIStyleContext *aTableStyl //availWidth = mMinTableWidth; // bump it up to the min // Step 3 - assign the width of all proportional-width columns in the remaining space - //if (PR_TRUE==gsDebug) + if (PR_TRUE==gsDebug) { printf ("BalanceColumnWidths with aMaxWidth = %d, availWidth = %d\n", aMaxWidth, availWidth); printf ("\t\t specifiedTW = %d, min/maxTW = %d %d\n", specifiedTableWidth, mMinTableWidth, mMaxTableWidth); printf ("\t\t reflow reason = %d\n", aReflowState.reason); } - //if (PR_TRUE==gsDebug) + if (PR_TRUE==gsDebug) { printf("\n%p: BEGIN BALANCE COLUMN WIDTHS\n", mTableFrame); for (PRInt32 i=0; iGetAdjustedMinColWidth() + colInset; } mMinTableWidth = PR_MAX(mMinTableWidth, sumOfAdjustedColMinWidths); - printf("minTW=%d, maxTW=%d with DMCW=%d\n", mMinTableWidth, mMaxTableWidth, sumOfAdjustedColMinWidths); + if (gsDebug) printf("minTW=%d, maxTW=%d with DMCW=%d\n", mMinTableWidth, mMaxTableWidth, sumOfAdjustedColMinWidths); } // take the fixed space spanned by the columns in aColSpanList