Backed out 2 changesets (bug 793686) for causing reftest failures. CLOSED TREE

Backed out changeset b7e8fd18039a (bug 793686)
Backed out changeset fcf30cda2dce (bug 793686)
This commit is contained in:
Sandor Molnar
2022-08-10 05:20:08 +03:00
parent 4d3873e2f1
commit 58854c13a4
9 changed files with 40 additions and 28 deletions

View File

@@ -647,7 +647,7 @@ nsColumnSetFrame::ColumnBalanceData nsColumnSetFrame::ReflowChildren(
LogicalSize kidCBSize(wm, availSize.ISize(wm), computedBSize);
ReflowInput kidReflowInput(PresContext(), aReflowInput, child, availSize,
Some(kidCBSize));
kidReflowInput.mFlags.mIsTopOfPage = !aConfig.mIsBalancing;
kidReflowInput.mFlags.mIsTopOfPage = true;
kidReflowInput.mFlags.mTableIsSplittable = false;
kidReflowInput.mFlags.mIsColumnBalancing = aConfig.mIsBalancing;
kidReflowInput.mBreakType = ReflowInput::BreakType::Column;
@@ -685,13 +685,6 @@ nsColumnSetFrame::ColumnBalanceData nsColumnSetFrame::ReflowChildren(
childOrigin, containerSize, ReflowChildFlags::Default,
aStatus);
if (colData.mColCount == 1 && aStatus.IsInlineBreakBefore()) {
COLUMN_SET_LOG("%s: Content in the first column reports break-before!",
__func__);
allFit = false;
break;
}
reflowNext = aStatus.NextInFlowNeedsReflow();
// The carried-out block-end margin of column content might be non-zero