Bug 1132008 part 1 - Calculate bsize of rtc according to its children. r=dbaron

This commit is contained in:
Xidorn Quan
2015-02-17 14:25:18 +13:00
parent 618ddd3a55
commit 7db92724c8
3 changed files with 40 additions and 15 deletions

View File

@@ -464,8 +464,7 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
}
lineLayout->VerticalAlignLine();
LogicalSize lineSize(lineWM, rtcISize, lineLayout->GetFinalLineBSize());
textContainer->SetLineSize(lineSize);
textContainer->SetISize(rtcISize);
lineLayout->EndLineReflow();
}