[wpt-sync] Sync PR 40466 - [css-flex] Try a more conservative intrinsic sizing algorithm
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40466 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40466
Details from upstream follow.
David Grogan <dgrogan@chromium.org> wrote:
[css-flex] Try a more conservative intrinsic sizing algorithm
Our first attempt at a better algorithm was not compatible with the web.
This version gives behavior closer to what is currently shipping in all
browsers.The difference in this version affects only single-line row containers'
min-content sizes. For such containers where no items are growing from
their flex basis to their desired min contribution, an item's final
contribution to the container's min-content size is (1) its flex-basis
if the item has a 0 flex factor in whichever direction it wants to go
(shrink if flex-basis > min-content contribution, grow otherwise);
otherwise: (2) its min-content contribution.This will probably only be enabled for a few days, but will give us good
compat data even so.Bug: 240765
Change-Id: Ib8ae101ec88b4f0e543c8f4ecb713edb68074cb4
Reviewed-on: https://chromium-review.googlesource.com/4602419
WPT-Export-Revision: f70a4b01fa35604fca24482d35e3e254204321f0
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 5 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests and 9 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
FAIL
: 8
Chrome
OK
: 1
PASS
: 1
FAIL
: 8
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-flexbox/intrinsic-size/row-005.html [wpt.fyi]
- .floating-flexbox 1:
FAIL
(Chrome:FAIL
) - .floating-flexbox 2:
FAIL
(Chrome:FAIL
) - .floating-flexbox 3:
FAIL
(Chrome:FAIL
) - .floating-flexbox 4:
FAIL
(Chrome:FAIL
) - .floating-flexbox 5:
FAIL
(Chrome:FAIL
) - .floating-flexbox 6:
FAIL
(Chrome:FAIL
) - .floating-flexbox 7:
FAIL
(Chrome:FAIL
) - .floating-flexbox 8:
FAIL
(Chrome:FAIL
)
- .floating-flexbox 1:
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b3350727e5b3
https://hg.mozilla.org/mozilla-central/rev/4b450422021f
Description
•