Bug 1133573 - Fix available size calculation of ruby text container. r=roc

This commit is contained in:
Xidorn Quan
2015-02-17 11:07:55 +13:00
parent 1fae6d1f54
commit 0dbed1338f

View File

@@ -346,8 +346,8 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
}
WritingMode lineWM = aReflowState.mLineLayout->GetWritingMode();
LogicalSize availSize(lineWM, aReflowState.AvailableWidth(),
aReflowState.AvailableHeight());
LogicalSize availSize(lineWM, aReflowState.AvailableISize(),
aReflowState.AvailableBSize());
// We have a reflow state and a line layout for each RTC.
// They are conceptually the state of the RTCs, but we don't actually