[wpt-sync] Sync PR 51801 - layout: Restrict stretch alignment to flex items with computed auto size
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox139 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 51801 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/51801
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
layout: Restrict stretch alignment to flex items with computed auto size
We were allowing
align-self: stretch
to stretch flex items whose cross size behaves asauto
, including cyclic percentages.However, https://github.com/w3c/csswg-drafts/issues/4525 resolved that stretching should only happen when the cross size computes to
auto
.So this patch exposes this information in
ContentBoxSizesAndPBM
, and refactors the flexbox stretching logic.Testing: ?????
Fixes: #<!-- nolink -->36285Reviewed in servo/servo#36288
Assignee | ||
Updated•18 days ago
|
Assignee | ||
Comment 1•16 days ago
|
||
Assignee | ||
Comment 2•16 days ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS
: 1
Chrome
PASS
: 1
Safari
PASS
: 1
Links
Comment 4•11 days ago
|
||
bugherder |
Description
•