[wpt-sync] Sync PR 36174 - [css-flex] Fix column-wrap container max < min error with % width item
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36174 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36174
Details from upstream follow.
David Grogan <dgrogan@chromium.org> wrote:
[css-flex] Fix column-wrap container max < min error with % width item
When laying out items during column-wrap container max intrinsic sizing,
items with % width were resolving against indefinite, so contributed 0
width.But during intrinsic sizing, children with % width are supposed to treat
that width as auto, which ComputeMinMaxContributionSizes already
handles.So instead of letting items resolve their widths during layout during
intrinsic sizing, fix items' inline sizes to the their max contribution
size in the various constraint spaces.Bug: 240765
Change-Id: I8aa16497e759cb6325f6febcab3446328abf9002
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3927803
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: David Grogan \<dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1056008}
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests and 1 subtests
Status Summary
Firefox
OK
: 3
PASS
: 2[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 7[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
FAIL
: 1[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 3[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
Chrome
OK
: 3
PASS
: 7
FAIL
: 3
Safari
OK
: 3
PASS
: 7
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-flexbox/intrinsic-size/col-wrap-013.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-flexbox/intrinsic-size/col-wrap-014.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-flexbox/intrinsic-size/col-wrap-019.html [wpt.fyi]
- body > div 1:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- body > div 1:
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/32d7198a1a13
https://hg.mozilla.org/mozilla-central/rev/1b4f44f3ea3e
Description
•