Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame

This commit is contained in:
Simon Montagu
2014-06-11 02:45:31 -07:00
parent 42e0900d15
commit 7182a1b8b9
28 changed files with 250 additions and 243 deletions

View File

@@ -182,8 +182,10 @@ nsNumberControlFrame::Reflow(nsPresContext* aPresContext,
FinishReflowChild(outerWrapperFrame, aPresContext, wrappersDesiredSize,
&wrapperReflowState, xoffset, yoffset, 0);
aDesiredSize.SetTopAscent(wrappersDesiredSize.TopAscent() +
outerWrapperFrame->GetPosition().y);
aDesiredSize.SetBlockStartAscent(
wrappersDesiredSize.BlockStartAscent() +
outerWrapperFrame->BStart(aReflowState.GetWritingMode(),
contentBoxWidth));
}
aDesiredSize.Width() = contentBoxWidth +