Updated a comment

git-svn-id: svn://10.0.0.236/trunk@29982 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com 1999-05-03 20:51:16 +00:00
parent b41a1ca6aa
commit f1b4eedc99
2 changed files with 2 additions and 8 deletions

View File

@ -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);

View File

@ -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);