Remove check for GECKO_USE_COMPUTED_HEIGHT environment variable. b=196270 r+sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177006 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2439,13 +2439,7 @@ nsLineLayout::VerticalAlignFrames(PerSpanData* psd)
|
||||
nscoord minimumLineHeight = mMinLineHeight;
|
||||
nscoord fontAscent, fontHeight;
|
||||
fm->GetMaxAscent(fontAscent);
|
||||
if (nsHTMLReflowState::UseComputedHeight()) {
|
||||
fontHeight = spanFrame->GetStyleFont()->mFont.size;
|
||||
}
|
||||
else
|
||||
{
|
||||
fm->GetHeight(fontHeight);
|
||||
}
|
||||
fm->GetHeight(fontHeight);
|
||||
|
||||
nscoord leading = minimumLineHeight - fontHeight;
|
||||
nscoord yTop = -fontAscent - leading/2;
|
||||
|
||||
Reference in New Issue
Block a user