Closed Bug 1868056 Opened 10 months ago Closed 10 months ago

Flex container width and height incorrectly calculated for `flex-flow: column wrap`

Categories

(Core :: Layout: Flexbox, defect)

Firefox 115
defect

Tracking

()

RESOLVED DUPLICATE of bug 995020

People

(Reporter: u8wdwl699q, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

  1. Go to http://codepen.io/anon/pen/pJLwYp
  2. Notice how the containing <ul> does not actually contain it's <li> children. It's size is being incorrectly calculated.

Actual results:

The <il> children should be contained no matter how they wrap and no matter how many children are present.
If you look at the demo in Edge, it renders correctly.

Expected results:

The containing <ul> does not fully contain its children.

This is a copy and paste from the same bug in Chromium that has just been (almost) fixed.

Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=507397
Stackoverflow question on it: https://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width
Workaround: https://jsfiddle.net/gcob492x/3/

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Flexbox' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Flexbox
Product: Firefox → Core

Thanks for the bug report! I think this is a duplicate of longstanding bug 995020.

Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Duplicate of bug: 995020
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.