[wpt-sync] Sync PR 39658 - [css-flex] Disable fixed-table's infinite size for intrinsic flex sizing
Categories
(Core :: Layout: Tables, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39658 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39658
Details from upstream follow.
David Grogan <dgrogan@chromium.org> wrote:
[css-flex] Disable fixed-table's infinite size for intrinsic flex sizing
A fixed-table's intrinsic max-content is ~infinite when it has a
%-width. That's been around for a while and ships in all browsers.But it is problematic for the new flex intrinsic sizing algorithm
because now the infinity percolates up to the flex container's
min-content size[1]. We obviously don't want a min-content size of
infinity and gmail relies on the old behavior.So this is a hacky patch that makes fixed-tables max-content size be the
same as auto-tables when an ancestor flex table is calculating its
intrinsic sizes. It will probably be web compatible, but unsure.This affects both the min and max intrinsic size of the flex container.
[1] New flex min-content algorithm accounts for item's flex base sizes.
A %-width fixed-table's flex base size is its max-content size, which,
as mentioned above, is ~infinity.Change-Id: I7010fa73df8e88a4812b23780e5d58a3f63da730
Bug: 240765Reviewed-on: https://chromium-review.googlesource.com/4420422
WPT-Export-Revision: 83297b3034d77972a9a4c00b9cc46f0d59416518
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Assignee | ||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 8 subtests
Status Summary
Firefox
OK
: 1
PASS
: 8
Chrome
OK
: 1
PASS
: 8
Safari
OK
: 1
PASS
: 8
Links
Comment 8•2 years ago
|
||
bugherder |
Description
•