Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-05-05 06:09:50 +00:00
parent 9893d7a975
commit 33b3f60e43
13 changed files with 98 additions and 37 deletions

View File

@@ -568,7 +568,7 @@ nsInlineFrame::ReflowFrames(nsPresContext* aPresContext,
: aReflowState.mComputedBorderPadding.left;
}
SetFontFromStyle(aReflowState.rendContext, mStyleContext);
nsLayoutUtils::SetFontFromStyle(aReflowState.rendContext, mStyleContext);
nsCOMPtr<nsIFontMetrics> fm;
aReflowState.rendContext->GetFontMetrics(*getter_AddRefs(fm));