Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Minimum sizing of nested flexbox in Safari #271

Description

@OliverJAsh

I think I've stumbled into an instance of flexbug 1 in Safari, however the current documentation for this flexbug states that is it fixed.

Specifically: in Safari, a nested flexbox (i.e. a flex container which is also a flex item of a parent flex container) does not correctly apply minimum sizing.

Reduced test case: https://jsbin.com/dizifil/1/edit?html,css,output

(Pink border shows flex item which is also a nested flexbox.)

Chrome/Firefox have the expected behaviour:

The flex item should have a minimum size of its contents (i.e. the pink border should wrap around the inner black border).

I think this issue was alluded to in #241, but it doesn't look like this exception made it into the docs.

Also there doesn't appear to be a Safari/WebKit bug filed where we can track this.

If you agree, I would be happy to:

  • raise a Safari/WebKit bug for this
  • raise a PR to better document this Safari bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions