Updated a comment
git-svn-id: svn://10.0.0.236/trunk@29982 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b41a1ca6aa
commit
f1b4eedc99
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user