Open Bug 1815294 Opened 1 year ago Updated 1 year ago

Investigate a more specific condition to avoid always reflow flex item in a fragmented context

Categories

(Core :: Layout: Flexbox, enhancement)

enhancement

Tracking

()

People

(Reporter: TYLin, Unassigned)

References

Details

File per Daniel's review comment in https://phabricator.services.mozilla.com/D167207#5555386.

A flex item can grow its block-size in a fragmented context if there's any force break within it (bug 1663079), or if it has a repeated table header or footer (bug 1744363). We currently always reflow it. However, this might trigger O(n^2) behavior when printing a deeply-nested flex container. This bug tracks the investigation to design a more specific condition to prevent O(n^2) behavior.

You need to log in before you can comment on or make changes to this bug.