Skip to content
Snippets Groups Projects
Commit f3117a69 authored by Ting-Yu Lin's avatar Ting-Yu Lin
Browse files

Bug 1743890 Part 2 - Push monolithic flex item exceeding available block-size...

Bug 1743890 Part 2 - Push monolithic flex item exceeding available block-size to next-in-flow. r=dholbert

This patch deals with two things:

1. Push tall monolithic flex items to next-in-flow, and adjust their positions.
2. Grow flex container's block-size if its block-size is unconstrained.

This patch doesn't fix:
1. Item shifts in different lines in a multi-line column-oriented container
   (bug 1806717).
2. Flex container block-size grow due to flex item's block-size grow in
   fragmentation.

If a flex item has break-before:avoid, we don't want to push it to the
next-in-flow (in the computaion of `shouldPushItem`). Otherwise, we'll fail
web-platform/tests/css/css-break/flexbox/multi-line-column-flex-fragmentation-034.html

Differential Revision: https://phabricator.services.mozilla.com/D165192
parent fafca7f8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment