Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user