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:
ftang%netscape.com
2001-05-18 20:33:08 +00:00
parent 2cacf33420
commit ad0685af07
2 changed files with 0 additions and 24 deletions

View File

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