From b37f5e28cc6e33dd29e29ed2fd89980bf98a4248 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 8 Mar 1999 19:26:09 +0000 Subject: [PATCH] Added a skid mark (disabled) git-svn-id: svn://10.0.0.236/trunk@23184 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsInlineFrame.cpp | 5 +++++ mozilla/layout/html/base/src/nsInlineFrame.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/mozilla/layout/generic/nsInlineFrame.cpp b/mozilla/layout/generic/nsInlineFrame.cpp index 8b39c309e7b..26e24632752 100644 --- a/mozilla/layout/generic/nsInlineFrame.cpp +++ b/mozilla/layout/generic/nsInlineFrame.cpp @@ -1483,6 +1483,11 @@ nsInlineFrame::ReflowInlineFrames(nsIPresContext& aPresContext, } aMetrics.height = bbox.height + aReflowState.mComputedBorderPadding.top + aReflowState.mComputedBorderPadding.bottom; +#ifdef NOISY_FINAL_SIZE + ListTag(stdout); + printf(": metrics=%d,%d ascent=%d descent=%d\n", + aMetrics.width, aMetrics.height, aMetrics.ascent, aMetrics.descent); +#endif aMetrics.mCarriedOutTopMargin = 0; aMetrics.mCarriedOutBottomMargin = 0; if (nsnull != aMetrics.maxElementSize) { diff --git a/mozilla/layout/html/base/src/nsInlineFrame.cpp b/mozilla/layout/html/base/src/nsInlineFrame.cpp index 8b39c309e7b..26e24632752 100644 --- a/mozilla/layout/html/base/src/nsInlineFrame.cpp +++ b/mozilla/layout/html/base/src/nsInlineFrame.cpp @@ -1483,6 +1483,11 @@ nsInlineFrame::ReflowInlineFrames(nsIPresContext& aPresContext, } aMetrics.height = bbox.height + aReflowState.mComputedBorderPadding.top + aReflowState.mComputedBorderPadding.bottom; +#ifdef NOISY_FINAL_SIZE + ListTag(stdout); + printf(": metrics=%d,%d ascent=%d descent=%d\n", + aMetrics.width, aMetrics.height, aMetrics.ascent, aMetrics.descent); +#endif aMetrics.mCarriedOutTopMargin = 0; aMetrics.mCarriedOutBottomMargin = 0; if (nsnull != aMetrics.maxElementSize) {