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:
@@ -5214,7 +5214,7 @@ nsBlockFrame::ReflowFloat(nsBlockReflowState& aState,
|
||||
// needed when prev. float has procentage width
|
||||
// (maybe is a table flaw that makes table chose to round up
|
||||
// but I don't want to change that, too risky)
|
||||
nscoord twp = aState.mPresContext->IntScaledPixelsToTwips(1);
|
||||
nscoord twp = nsPresContext::CSSPixelsToAppUnits(1);
|
||||
availWidth -= availWidth % twp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user