mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Revert "Issue #2693 - Don't reflow children if they have 0 width."
This reverts commit cb233feea0.
This commit is contained in:
parent
0d63037e56
commit
594a360cbf
1 changed files with 4 additions and 19 deletions
|
|
@ -3793,25 +3793,10 @@ MeasuringReflow(nsIFrame* aChild,
|
||||||
nsIFrame::ReflowChildFlags::NoMoveFrame |
|
nsIFrame::ReflowChildFlags::NoMoveFrame |
|
||||||
nsIFrame::ReflowChildFlags::NoSizeView |
|
nsIFrame::ReflowChildFlags::NoSizeView |
|
||||||
nsIFrame::ReflowChildFlags::NoDeleteNextInFlowChild;
|
nsIFrame::ReflowChildFlags::NoDeleteNextInFlowChild;
|
||||||
if (childSize.mBoundingMetrics.width != 0) {
|
parent->ReflowChild(aChild, pc, childSize, childRI, wm,
|
||||||
parent->ReflowChild(aChild,
|
LogicalPoint(wm), nsSize(), flags, childStatus);
|
||||||
pc,
|
parent->FinishReflowChild(aChild, pc, childSize, &childRI, wm,
|
||||||
childSize,
|
LogicalPoint(wm), nsSize(), flags);
|
||||||
childRI,
|
|
||||||
wm,
|
|
||||||
LogicalPoint(wm),
|
|
||||||
nsSize(),
|
|
||||||
flags,
|
|
||||||
childStatus);
|
|
||||||
parent->FinishReflowChild(aChild,
|
|
||||||
pc,
|
|
||||||
childSize,
|
|
||||||
&childRI,
|
|
||||||
wm,
|
|
||||||
LogicalPoint(wm),
|
|
||||||
nsSize(),
|
|
||||||
flags);
|
|
||||||
}
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
parent->DeleteProperty(nsContainerFrame::DebugReflowingWithInfiniteISize());
|
parent->DeleteProperty(nsContainerFrame::DebugReflowingWithInfiniteISize());
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue