gecko-dev/layout
Ting-Yu Lin 05e90a8a3e Bug 1827582 - Fix flex container's reflow status when unbreakable flex items consume all content block-size in current fragment. r=dholbert
The bug occurs in `PopulateReflowOutput()` when we change the reflow status of
an auto-height flex container to "complete" because unbreakable tall flex items
have consumed all the theoretical/unfragmented content block-size. Later in
`PopulateReflowOutput()`, we'll change the reflow status [1] to "overflow
incomplete," which cause the next-in-flow to become an overflow container.

It is possible that the container's block-size will grow due to pushed items.
However, `nsSplittableFrame::CalcAndCacheConsumedBSize()` [2] doesn't consider
the overflow container's block-size, so we never correctly consume the extra
block-size growth in later fragments due to pushed items. We end up creating
infinite columns.

[1] https://searchfox.org/mozilla-central/rev/54c533e94ae786056a43231f230c7d9b0773cb80/layout/generic/nsFlexContainerFrame.cpp#5623-5626
[2] https://searchfox.org/mozilla-central/rev/54c533e94ae786056a43231f230c7d9b0773cb80/layout/generic/nsSplittableFrame.cpp#201-204

Differential Revision: https://phabricator.services.mozilla.com/D175543
2023-04-19 21:53:24 +00:00
..
base Bug 1827856 - Remove nativeAnonymousChildList observers. r=smaug,credential-management-reviewers,devtools-reviewers,sgalich,nchevobbe 2023-04-18 14:58:34 +00:00
build Bug 1824489 - Remove nsBoxFrame, nsBoxLayout and related code. r=jwatt 2023-03-27 23:25:42 +00:00
docs Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup 2022-12-30 15:23:21 +00:00
forms Backed out changeset a9ef9922a38b (bug 1825709) for causing wr failures on input-date-content-size.html. 2023-04-19 02:23:18 +03:00
generic Bug 1827582 - Fix flex container's reflow status when unbreakable flex items consume all content block-size in current fragment. r=dholbert 2023-04-19 21:53:24 +00:00
inspector Bug 1826517 - Simplify DevTools' walker. r=smaug,devtools-reviewers,nchevobbe 2023-04-10 11:18:38 +00:00
ipc
mathml Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
media
painting Bug 1704631 - Expand the size for `background-attachmend: fixed` image. r=botond,tnikkel,geckoview-reviewers,owlish 2023-04-19 21:08:53 +00:00
printing Bug 1828004 - Combine GetDefaultPageSizeOrientation and GetPageSizeForPageName r=emilio 2023-04-17 23:27:26 +00:00
reftests Bug 1828799 - Fix incorrect fuzziness for tier 2 android 456219-1c.html r=gfx-reviewers,lsalzman 2023-04-19 20:25:55 +00:00
style Bug 1826629 - Implement CSS and rendering (but not copy/paste) support for the (non-standard) -webkit-text-security property. r=dholbert 2023-04-18 11:47:07 +00:00
svg Bug 1828291 - Give SVGImageFrame its own implementation of IsInvisible r=emilio 2023-04-17 22:04:27 +00:00
tables Bug 1828829. Fix unused warning when enabling DEBUG_FRAME_DUMP in opt builds. r=emilio 2023-04-19 08:29:26 +00:00
tools Bug 1818604 - unbreak loading files using 'open file' in the layout debugger, r=emilio 2023-03-31 14:43:06 +00:00
xul Bug 1828772 - Don't use move-to-rect if layout has flipped our popup. r=stransky 2023-04-19 13:00:16 +00:00
moz.build