fix 79653. check in for simon@softel.co.il
r=ftang sr=attanasi remove unnecessary code in IBMBIDI due to previous check in git-svn-id: svn://10.0.0.236/trunk@95406 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1851,18 +1851,6 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
|
||||
|
||||
AdjustComputedWidth();
|
||||
|
||||
#ifdef IBMBIDI
|
||||
// See what edge the width applies to (the default is the content
|
||||
// edge)
|
||||
if (mComputedWidth != NS_UNCONSTRAINEDSIZE) {
|
||||
if (mStylePosition->mBoxSizing == NS_STYLE_BOX_SIZING_PADDING) {
|
||||
mComputedWidth -= mComputedPadding.left + mComputedPadding.right;
|
||||
} else if (mStylePosition->mBoxSizing == NS_STYLE_BOX_SIZING_BORDER) {
|
||||
mComputedWidth -= mComputedBorderPadding.left + mComputedBorderPadding.right;
|
||||
}
|
||||
}
|
||||
#endif // IBMBIDI
|
||||
|
||||
// Now that we have the computed-width, compute the side margins
|
||||
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user