Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -196,9 +196,7 @@ ProcessTableRulesAttribute(nsStyleStruct* aStyleStruct,
|
||||
borderData->SetBorderColor(aSide, borderColor);
|
||||
}
|
||||
// set the border width to be 1 pixel
|
||||
nscoord onePixel =
|
||||
NSToCoordRound(aRuleData->mPresContext->ScaledPixelsToTwips());
|
||||
borderData->SetBorderWidth(aSide, onePixel);
|
||||
borderData->SetBorderWidth(aSide, nsPresContext::CSSPixelsToAppUnits(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user