Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297)

This commit is contained in:
kipp@netscape.com
1999-10-12 23:24:51 +00:00
parent 1a9b3fe785
commit 03460c03e9
2 changed files with 4 additions and 4 deletions

View File

@@ -499,9 +499,9 @@ nsBlockReflowContext::PlaceBlock(PRBool aForceFit,
}
}
// Update the in-flow bounding box's bounds. Include the margins.
// Update the in-flow bounds rectangle
aInFlowBounds.SetRect(x, y,
mMetrics.width + mMargin.right,
mMetrics.width,
mMetrics.height);

View File

@@ -499,9 +499,9 @@ nsBlockReflowContext::PlaceBlock(PRBool aForceFit,
}
}
// Update the in-flow bounding box's bounds. Include the margins.
// Update the in-flow bounds rectangle
aInFlowBounds.SetRect(x, y,
mMetrics.width + mMargin.right,
mMetrics.width,
mMetrics.height);