Bug 775624 Part 16 - Convert NS_INLINE_IS_BREAK_BEFORE to a method. r=dholbert

MozReview-Commit-ID: 8vxRpqbZNnk

--HG--
extra : rebase_source : 195e2da23d64da9e9a888968a45eaae2e6539585
This commit is contained in:
Ting-Yu Lin 2017-02-14 16:05:24 +08:00
Родитель 19221f0474
Коммит d5c6d28836
28 изменённых файлов: 125 добавлений и 127 удалений

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

@ -897,7 +897,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext,
mButtonFrame->SetRect(buttonRect, containerSize);
if (!NS_INLINE_IS_BREAK_BEFORE(aStatus) &&
if (!aStatus.IsInlineBreakBefore() &&
!aStatus.IsFullyComplete()) {
// This frame didn't fit inside a fragmentation container. Splitting
// a nsComboboxControlFrame makes no sense, so we override the status here.

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

@ -920,8 +920,8 @@ BlockReflowInput::FlowAndPlaceFloat(nsIFrame* aFloat)
// (controlled by the pref "layout.float-fragments-inside-column.enabled")
//
// Likewise, if none of the float fit, and it needs to be pushed in
// its entirety to the next page (IsTruncated() or
// NS_INLINE_IS_BREAK_BEFORE), we need to do the same.
// its entirety to the next page (IsTruncated() or IsInlineBreakBefore()),
// we need to do the same.
if ((ContentBSize() != NS_UNCONSTRAINEDSIZE &&
!mFlags.mFloatFragmentsInsideColumnEnabled &&
adjustedAvailableSpace.BSize(wm) == NS_UNCONSTRAINEDSIZE &&
@ -929,7 +929,7 @@ BlockReflowInput::FlowAndPlaceFloat(nsIFrame* aFloat)
aFloat->BSize(wm) + floatMargin.BStartEnd(wm) >
ContentBEnd() - floatPos.B(wm)) ||
reflowStatus.IsTruncated() ||
NS_INLINE_IS_BREAK_BEFORE(reflowStatus)) {
reflowStatus.IsInlineBreakBefore()) {
PushFloatPastBreak(aFloat);
return false;
}

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

@ -260,7 +260,7 @@ RecordReflowStatus(bool aChildIsBlock, nsReflowStatus aFrameReflowStatus)
// Compute new status
uint32_t newS = record[index];
if (NS_INLINE_IS_BREAK(aFrameReflowStatus)) {
if (NS_INLINE_IS_BREAK_BEFORE(aFrameReflowStatus)) {
if (aFrameReflowStatus.IsInlineBreakBefore()) {
newS |= 1;
}
else if (aFrameReflowStatus.IsIncomplete()) {
@ -1668,7 +1668,7 @@ nsBlockFrame::ComputeFinalSize(const ReflowInput& aReflowInput,
aState.mReflowStatus.SetOverflowIncomplete();
}
} else if (aReflowInput.AvailableBSize() != NS_UNCONSTRAINEDSIZE &&
!NS_INLINE_IS_BREAK_BEFORE(aState.mReflowStatus) &&
!aState.mReflowStatus.IsInlineBreakBefore() &&
aState.mReflowStatus.IsComplete()) {
// Currently only used for grid items, but could be used in other contexts.
// The FragStretchBSizeProperty is our expected non-fragmented block-size
@ -3579,7 +3579,7 @@ nsBlockFrame::ReflowBlockFrame(BlockReflowInput& aState,
RecordReflowStatus(true, frameReflowStatus);
#endif
if (NS_INLINE_IS_BREAK_BEFORE(frameReflowStatus)) {
if (frameReflowStatus.IsInlineBreakBefore()) {
// None of the child block fits.
*aKeepReflowGoing = false;
if (ShouldAvoidBreakInside(aState.mReflowInput)) {
@ -4078,7 +4078,7 @@ nsBlockFrame::DoReflowInlineFrames(BlockReflowInput& aState,
LineReflowStatus::RedoNoPull != lineReflowStatus) {
// If we are propagating out a break-before status then there is
// no point in placing the line.
if (!NS_INLINE_IS_BREAK_BEFORE(aState.mReflowStatus)) {
if (!aState.mReflowStatus.IsInlineBreakBefore()) {
if (!PlaceLine(aState, aLineLayout, aLine, aFloatStateBeforeLine,
aFloatAvailableSpace.mRect, aAvailableSpaceBSize,
aKeepReflowGoing)) {
@ -4192,7 +4192,7 @@ nsBlockFrame::ReflowInlineFrame(BlockReflowInput& aState,
MOZ_ASSERT(StyleClear::None != breakType ||
StyleClear::None != aState.mFloatBreakType, "bad break type");
if (NS_INLINE_IS_BREAK_BEFORE(frameReflowStatus)) {
if (frameReflowStatus.IsInlineBreakBefore()) {
// Break-before cases.
if (aFrame == aLine->mFirstChild) {
// If we break before the first frame on the line then we must

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

@ -307,7 +307,7 @@ nsBlockReflowContext::ReflowBlock(const LogicalRect& aSpace,
mOuterReflowInput.mFloatManager->Translate(-tI, -tB);
#ifdef DEBUG
if (!NS_INLINE_IS_BREAK_BEFORE(aFrameReflowStatus)) {
if (!aFrameReflowStatus.IsInlineBreakBefore()) {
if ((CRAZY_SIZE(mMetrics.ISize(mWritingMode)) ||
CRAZY_SIZE(mMetrics.BSize(mWritingMode))) &&
!mFrame->GetParent()->IsCrazySizeAssertSuppressed()) {
@ -330,7 +330,7 @@ nsBlockReflowContext::ReflowBlock(const LogicalRect& aSpace,
mMetrics.SetOverflowAreasToDesiredBounds();
}
if (!NS_INLINE_IS_BREAK_BEFORE(aFrameReflowStatus) ||
if (!aFrameReflowStatus.IsInlineBreakBefore() ||
(mFrame->GetStateBits() & NS_FRAME_OUT_OF_FLOW)) {
// If frame is complete and has a next-in-flow, we need to delete
// them now. Do not do this when a break-before is signaled because

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

@ -1029,7 +1029,7 @@ nsContainerFrame::ReflowChild(nsIFrame* aKidFrame,
// If the child frame is complete, delete any next-in-flows,
// but only if the NO_DELETE_NEXT_IN_FLOW flag isn't set.
if (!NS_INLINE_IS_BREAK_BEFORE(aStatus) &&
if (!aStatus.IsInlineBreakBefore() &&
aStatus.IsFullyComplete() &&
!(aFlags & NS_FRAME_NO_DELETE_NEXT_IN_FLOW_CHILD)) {
nsIFrame* kidNextInFlow = aKidFrame->GetNextInFlow();

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

@ -265,7 +265,7 @@ nsFirstLetterFrame::Reflow(nsPresContext* aPresContext,
}
}
if (!NS_INLINE_IS_BREAK_BEFORE(aReflowStatus)) {
if (!aReflowStatus.IsInlineBreakBefore()) {
// Create a continuation or remove existing continuations based on
// the reflow completion status.
if (aReflowStatus.IsComplete()) {

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

@ -5625,16 +5625,16 @@ nsGridContainerFrame::ReflowRowsInFragmentainer(
GridLineSide::eAfterGridGap);
ReflowInFlowChild(child, info, aContainerSize, Some(bSize), &aFragmentainer,
aState, aContentArea, aDesiredSize, childStatus);
MOZ_ASSERT(NS_INLINE_IS_BREAK_BEFORE(childStatus) ||
MOZ_ASSERT(childStatus.IsInlineBreakBefore() ||
!childStatus.IsFullyComplete() ||
!child->GetNextInFlow(),
"fully-complete reflow should destroy any NIFs");
if (NS_INLINE_IS_BREAK_BEFORE(childStatus)) {
if (childStatus.IsInlineBreakBefore()) {
MOZ_ASSERT(!child->GetPrevInFlow(),
"continuations should never report BREAK_BEFORE status");
MOZ_ASSERT(!aFragmentainer.mIsTopOfPage,
"got NS_INLINE_IS_BREAK_BEFORE at top of page");
"got IsInlineBreakBefore() at top of page");
if (!didGrowRow) {
if (rowCanGrow) {
// Grow this row and restart with the next row as |aEndRow|.

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

@ -322,6 +322,7 @@ public:
// Suppose a break is requested. When mInlineBreakAfter is set, the break
// should occur after the frame just reflowed; when mInlineBreakAfter is
// clear, the break should occur before the frame just reflowed.
bool IsInlineBreakBefore() const { return mInlineBreak && !mInlineBreakAfter; }
StyleClear BreakType() const { return mBreakType; }
// Set the inline line-break-before status, and reset other bit flags. The
@ -377,9 +378,6 @@ private:
#define NS_INLINE_IS_BREAK_AFTER(_status) \
(0 != ((_status) & NS_INLINE_BREAK_AFTER))
#define NS_INLINE_IS_BREAK_BEFORE(_status) \
(NS_INLINE_BREAK == ((_status) & (NS_INLINE_BREAK|NS_INLINE_BREAK_AFTER)))
#define NS_FRAME_SET_TRUNCATION(aStatus, aReflowInput, aMetrics) \
aStatus.UpdateTruncated(aReflowInput, aMetrics);

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

@ -803,8 +803,8 @@ nsInlineFrame::ReflowInlineFrame(nsPresContext* aPresContext,
bool reflowingFirstLetter = lineLayout->GetFirstLetterStyleOK();
bool pushedFrame;
lineLayout->ReflowFrame(aFrame, aStatus, nullptr, pushedFrame);
if (NS_INLINE_IS_BREAK_BEFORE(aStatus)) {
if (aStatus.IsInlineBreakBefore()) {
if (aFrame != mFrames.FirstChild()) {
// Change break-before status into break-after since we have
// already placed at least one child frame. This preserves the

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

@ -1028,7 +1028,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
#ifdef DEBUG
// Note: break-before means ignore the reflow metrics since the
// frame will be reflowed another time.
if (!NS_INLINE_IS_BREAK_BEFORE(aReflowStatus)) {
if (!aReflowStatus.IsInlineBreakBefore()) {
if ((CRAZY_SIZE(reflowOutput.ISize(lineWM)) ||
CRAZY_SIZE(reflowOutput.BSize(lineWM))) &&
!LineContainerFrame()->GetParent()->IsCrazySizeAssertSuppressed()) {
@ -1067,7 +1067,7 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
*aMetrics = reflowOutput;
}
if (!NS_INLINE_IS_BREAK_BEFORE(aReflowStatus)) {
if (!aReflowStatus.IsInlineBreakBefore()) {
// If frame is complete and has a next-in-flow, we need to delete
// them now. Do not do this when a break-before is signaled because
// the frame is going to get reflowed again (and may end up wanting

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

@ -404,9 +404,9 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
// If there exists any span, the columns must either be completely
// reflowed, or be not reflowed at all.
MOZ_ASSERT(NS_INLINE_IS_BREAK_BEFORE(aStatus) ||
MOZ_ASSERT(aStatus.IsInlineBreakBefore() ||
aStatus.IsComplete() || !hasSpan);
if (!NS_INLINE_IS_BREAK_BEFORE(aStatus) &&
if (!aStatus.IsInlineBreakBefore() &&
aStatus.IsComplete() && hasSpan) {
// Reflow spans
RubyReflowInput reflowInput = {
@ -480,7 +480,7 @@ nsRubyBaseContainerFrame::ReflowColumns(const RubyReflowInput& aReflowInput,
for (; !e.AtEnd(); e.Next()) {
e.GetColumn(column);
icoord += ReflowOneColumn(aReflowInput, columnIndex, column, reflowStatus);
if (!NS_INLINE_IS_BREAK_BEFORE(reflowStatus)) {
if (!reflowStatus.IsInlineBreakBefore()) {
columnIndex++;
}
if (NS_INLINE_IS_BREAK(reflowStatus)) {
@ -504,7 +504,7 @@ nsRubyBaseContainerFrame::ReflowColumns(const RubyReflowInput& aReflowInput,
break;
}
icoord += ReflowOneColumn(aReflowInput, columnIndex, column, reflowStatus);
if (!NS_INLINE_IS_BREAK_BEFORE(reflowStatus)) {
if (!reflowStatus.IsInlineBreakBefore()) {
columnIndex++;
}
}
@ -520,7 +520,7 @@ nsRubyBaseContainerFrame::ReflowColumns(const RubyReflowInput& aReflowInput,
aStatus.SetIncomplete();
}
if (NS_INLINE_IS_BREAK_BEFORE(reflowStatus)) {
if (reflowStatus.IsInlineBreakBefore()) {
if (!columnIndex || !aReflowInput.mAllowLineBreak) {
// If no column has been placed yet, or we have any span,
// the whole container should be in the next line.

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

@ -205,7 +205,7 @@ nsRubyFrame::ReflowSegment(nsPresContext* aPresContext,
aReflowInput.mLineLayout->ReflowFrame(aBaseContainer, aStatus,
&baseMetrics, pushedFrame);
if (NS_INLINE_IS_BREAK_BEFORE(aStatus)) {
if (aStatus.IsInlineBreakBefore()) {
if (aBaseContainer != mFrames.FirstChild()) {
// Some segments may have been reflowed before, hence it is not
// a break-before for the ruby container.

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

@ -47,7 +47,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 110px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 110px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:30px; background:grey">
<div class="grid">
<span><i></i><i></i><i></i><i></i><i></i><i></i><x></x></span>
@ -68,14 +68,14 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 140px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 140px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:30px; background:grey">
<div class="grid">
<span style="grid-row:span 3"><x></x></span>
<span style="grid-row:span 2"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><x></x></span></div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="grid t" style="grid-auto-rows: 50px; height:50px;">
<span class="t" style="grid-row:span 2; height:49px; overflow:hidden"><i></i><i></i><i></i><x></x></span>
@ -86,7 +86,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="br1"></div>
<div class="grid b" style="grid-auto-rows: 50px; height:116px;">
@ -94,7 +94,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="br1"></div>
<div class="grid b" style="grid-auto-rows: 50px; height:116px; grid-gap:0;">
@ -102,7 +102,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="br1"></div>
<div class="grid b" style="grid-auto-rows: 50px; height:116px; grid-gap:0;">

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

@ -46,7 +46,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 110px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 110px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:30px; background:grey">
<div class="grid">
<span class="avoid-break"><i></i><i></i><i></i><i></i><i></i><i></i><x></x></span>
@ -67,35 +67,35 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 140px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 140px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:30px; background:grey">
<div class="grid">
<span style="grid-row:span 3"><x></x></span>
<span class="avoid-break" style="grid-row:span 2"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><x></x></span></div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-auto-rows: 50px;">
<span class="avoid-break" style="grid-row:span 2; height:60px"><i></i><i></i><i></i><x></x></span>
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-auto-rows: 50px; height:116px;">
<span class="avoid-break" style="grid-row:span 2; height:60px"><i></i><i></i><i></i><x></x></span>
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-auto-rows: 50px; height:116px; grid-gap:0;">
<span class="avoid-break" style="grid-row:span 2; height:60px"><i></i><i></i><i></i><x></x></span>
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-auto-rows: 50px; height:116px; grid-gap:0;">
<span style="height:100px; background:pink"><x></x></span>

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

@ -46,7 +46,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 1fr 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -55,7 +55,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 1fr 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -64,7 +64,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 1fr 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -73,7 +73,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px 1fr 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -82,7 +82,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px 1fr 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -91,7 +91,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px 1fr 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>

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

@ -47,7 +47,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 1fr 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -56,7 +56,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 1fr 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -65,7 +65,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 1fr 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -74,7 +74,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px 1fr 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -83,7 +83,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px 1fr 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -92,7 +92,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px 1fr 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>

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

@ -46,7 +46,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -55,7 +55,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -64,7 +64,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -73,7 +73,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -82,7 +82,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -91,7 +91,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px min-content 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>

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

@ -47,7 +47,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -56,7 +56,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -65,7 +65,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -74,7 +74,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -83,7 +83,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -92,7 +92,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px min-content 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>

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

@ -47,7 +47,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -56,7 +56,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -65,7 +65,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -74,7 +74,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -83,7 +83,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -92,7 +92,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px min-content 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>
@ -101,7 +101,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -111,7 +111,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>

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

@ -47,7 +47,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -56,7 +56,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -65,7 +65,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -74,7 +74,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -83,7 +83,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -92,7 +92,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px min-content 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>
@ -101,7 +101,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -111,7 +111,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>

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

@ -48,7 +48,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -57,7 +57,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -66,7 +66,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -75,7 +75,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -84,7 +84,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:1/span 5"><x></x></span>
@ -93,7 +93,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px min-content 50px; grid-gap:0;">
<span style="grid-row:2/span 2"><x></x></span>
@ -102,7 +102,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -112,7 +112,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px;">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>

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

@ -47,7 +47,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -56,7 +56,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0; min-height:300px">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -65,7 +65,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0; min-height:120px">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -74,7 +74,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px; min-height:120px">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>
@ -83,7 +83,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px; min-height:120px; max-height:100px">
<span style="grid-row:1/span 5"><x></x></span>
@ -92,7 +92,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow row 2*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow row 2*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 50px min-content 50px; grid-gap:0; min-height:120px">
<span style="grid-row:2/span 2"><x></x></span>
@ -101,7 +101,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 50px; grid-gap:0;">
<span style="height:50px"><i style="height:60px"></i><x></x></span>
@ -111,7 +111,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 5px min-content 50px; min-height:200px">
<span style="grid-row:2; height:50px"><x></x><i style="height:60px"></i></span>

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

@ -43,7 +43,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0;">
<span></span>
@ -52,7 +52,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:90px;">
<span></span>
@ -61,7 +61,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:89px;">
<span></span>
@ -70,7 +70,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:94px;">
<span></span>
@ -79,7 +79,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:95px;">
<span></span>
@ -88,7 +88,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:200px;">
<span></span>
@ -97,7 +97,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:none;">
<span></span>

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

@ -46,7 +46,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0;">
<span></span>
@ -55,7 +55,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:90px;">
<span></span>
@ -64,7 +64,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:89px;">
<span></span>
@ -73,7 +73,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:94px;">
<span></span>
@ -82,7 +82,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:95px;">
<span></span>
@ -91,7 +91,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:200px;">
<span></span>
@ -100,7 +100,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:none;">
<span></span>

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

@ -46,7 +46,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0;">
<span></span>
@ -55,7 +55,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid t" style="grid-template-rows: 94px; grid-gap:0; height:90px; max-height:90px; ">
<span></span>
@ -65,7 +65,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
<div class="grid b" style="height:0px;grid-template-rows: 10px;"><span></span></div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:89px;">
<span></span>
@ -74,7 +74,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid t" style="grid-template-rows: 94px; grid-gap:0; height:94px; max-height:94px; ">
<span></span>
@ -83,7 +83,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
<div class="grid b" style="height:0px;grid-template-rows: 10px;"><span></span></div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0; max-height:95px;">
<span></span>
@ -92,7 +92,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: 94px 10px; grid-gap:0;">
<span></span>
@ -101,7 +101,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid t" style="grid-template-rows: 94px; grid-gap:0; height:90px; max-height:90px; ">
<span></span>

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

@ -46,7 +46,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</head>
<body>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0;">
<span></span>
@ -55,7 +55,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; height:90px;">
<span></span>
@ -64,7 +64,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; height:89px;">
<span></span>
@ -73,7 +73,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; height:94px;">
<span></span>
@ -82,7 +82,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; height:95px;">
<span></span>
@ -91,7 +91,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; max-height:50px;">
<span></span>
@ -100,7 +100,7 @@ i { display:block; height:10px; margin-top:7px; background:blue; }
</div>
</div></div>
<div class="columns" style="height: 100px/*trigger NS_INLINE_IS_BREAK_BEFORE for the item: grow the row*/">
<div class="columns" style="height: 100px/*trigger IsInlineBreakBefore() for the item: grow the row*/">
<div style="padding-top:1px; background:grey">
<div class="grid" style="grid-template-rows: min-content 10px; grid-gap:0; min-height:90px">
<span></span>

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

@ -3171,7 +3171,7 @@ nsTableFrame::ReflowChildren(TableReflowInput& aReflowInput,
// see if the rowgroup did not fit on this page might be pushed on
// the next page
if (isPaginated &&
(NS_INLINE_IS_BREAK_BEFORE(aStatus) ||
(aStatus.IsInlineBreakBefore() ||
(aStatus.IsComplete() &&
(NS_UNCONSTRAINEDSIZE != kidReflowInput.AvailableHeight()) &&
kidReflowInput.AvailableHeight() < desiredSize.Height()))) {

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

@ -1211,7 +1211,7 @@ nsTableRowGroupFrame::SplitRowGroup(nsPresContext* aPresContext,
// reflowed with a constrained height yet (we will find out when SplitSpanningCells is
// called below)
if (rowMetrics.Height() > availSize.height ||
(NS_INLINE_IS_BREAK_BEFORE(aStatus) && !aRowForcedPageBreak)) {
(aStatus.IsInlineBreakBefore() && !aRowForcedPageBreak)) {
// cases (1) and (2)
if (isTopOfPage) {
// We're on top of the page, so keep the row on this page. There will be data loss.