Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu
This commit is contained in:
@@ -519,7 +519,8 @@ nsTextControlFrame::Reflow(nsPresContext* aPresContext,
|
||||
inflation);
|
||||
// now adjust for our borders and padding
|
||||
aDesiredSize.SetBlockStartAscent(
|
||||
nsLayoutUtils::GetCenteredFontBaseline(fontMet, lineHeight) +
|
||||
nsLayoutUtils::GetCenteredFontBaseline(fontMet, lineHeight,
|
||||
wm.IsLineInverted()) +
|
||||
aReflowState.ComputedLogicalBorderPadding().BStart(wm));
|
||||
|
||||
// overflow handling
|
||||
|
||||
Reference in New Issue
Block a user