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

--HG--
extra : source : 8d3b16b31e7e7369264155e51f93a0116e6b892e
This commit is contained in:
Xidorn Quan 2015-02-17 11:07:55 +13:00
Родитель 962560da64
Коммит 6dc852a60b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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