From f1b4eedc99c4c11dd4e8a41cf4fbe3cafa9b83b6 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 3 May 1999 20:51:16 +0000 Subject: [PATCH] Updated a comment git-svn-id: svn://10.0.0.236/trunk@29982 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsBlockReflowContext.cpp | 5 +---- mozilla/layout/html/base/src/nsBlockReflowContext.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/mozilla/layout/generic/nsBlockReflowContext.cpp b/mozilla/layout/generic/nsBlockReflowContext.cpp index a272cef87ac..25b460c8c56 100644 --- a/mozilla/layout/generic/nsBlockReflowContext.cpp +++ b/mozilla/layout/generic/nsBlockReflowContext.cpp @@ -387,10 +387,7 @@ nsBlockReflowContext::PlaceBlock(PRBool aForceFit, // Apply post-reflow horizontal alignment. When a block element // doesn't use it all of the available width then we need to - // align it using the text-align property. Note that - // block-non-replaced elements will always take up the available - // width (counting the margins!) so we shouldn't be handling - // them here. + // align it using the text-align property. if (NS_UNCONSTRAINEDSIZE != mSpace.width) { nscoord remainder = mSpace.XMost() - (x + mMetrics.width + mMargin.right); diff --git a/mozilla/layout/html/base/src/nsBlockReflowContext.cpp b/mozilla/layout/html/base/src/nsBlockReflowContext.cpp index a272cef87ac..25b460c8c56 100644 --- a/mozilla/layout/html/base/src/nsBlockReflowContext.cpp +++ b/mozilla/layout/html/base/src/nsBlockReflowContext.cpp @@ -387,10 +387,7 @@ nsBlockReflowContext::PlaceBlock(PRBool aForceFit, // Apply post-reflow horizontal alignment. When a block element // doesn't use it all of the available width then we need to - // align it using the text-align property. Note that - // block-non-replaced elements will always take up the available - // width (counting the margins!) so we shouldn't be handling - // them here. + // align it using the text-align property. if (NS_UNCONSTRAINEDSIZE != mSpace.width) { nscoord remainder = mSpace.XMost() - (x + mMetrics.width + mMargin.right);