Bug 1404179 - Prepend rather than append frames from overflow list of prev-in-flow for ruby frames. r=dholbert
MozReview-Commit-ID: 1xUEf1S6GEK
This commit is contained in:
@@ -314,12 +314,12 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||
mDescendantLeadings.Reset();
|
||||
|
||||
nsIFrame* lineContainer = aReflowInput.mLineLayout->LineContainerFrame();
|
||||
MoveOverflowToChildList(lineContainer);
|
||||
MoveInlineOverflowToChildList(lineContainer);
|
||||
// Ask text containers to drain overflows
|
||||
AutoRubyTextContainerArray textContainers(this);
|
||||
const uint32_t rtcCount = textContainers.Length();
|
||||
for (uint32_t i = 0; i < rtcCount; i++) {
|
||||
textContainers[i]->MoveOverflowToChildList(lineContainer);
|
||||
textContainers[i]->MoveInlineOverflowToChildList(lineContainer);
|
||||
}
|
||||
|
||||
WritingMode lineWM = aReflowInput.mLineLayout->GetWritingMode();
|
||||
|
||||
Reference in New Issue
Block a user