Closed Bug 1692638 Opened 4 years ago Closed 4 years ago

min-width:auto on <table> flex item ends up being established by its own percent width

Categories

(Core :: Layout: Flexbox, defect)

defect

Tracking

()

VERIFIED DUPLICATE of bug 1674302

People

(Reporter: dholbert, Unassigned)

References

Details

STR:

  1. Load https://jsfiddle.net/Lqyaw1vs/

EXPECTED RESULTS:
Probably none of the blue boxes should overflow the black box.

ACTUAL RESULTS:
The lower three blue boxes overflow their black containers.

Chrome gives EXPECTED RESULTS. Their behavior feels right to me - they're letting the flex item shrink below its specified width (to a size that's still larger than its content size).

In contrast, we're using the specified width in a way that ends up also establishing its content-size-suggestion for its automatic minimum size, I think.

Bug 1674302 might fix this, but I'm filing this separately for now (we can dupe later if appropriate).

Bug 1674302 fixed this. The specified percentage width of flex items in the jsfiddle is similar to table-item-flex-percentage-width.html. We should already have a good coverage on WPT.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Great, thanks!

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.