Closed Bug 2080001 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63394 - flex: Consider precomputed min/max_main size when doing layout on indefinite sizing item of flex:column

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63394 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63394
Details from upstream follow.

Josh Bowman-Matthews <josh@joshmatthews.net> wrote:

flex: Consider precomputed min/max_main size when doing layout on indefinite sizing item of flex:column

When doing layout on item with indefinite size (e.g. min-height: 20px) whose parent is flexbox with flex-direction:column. We should pass main_min_size, and main_max_size as sizing constraint in containing block.

Testing: Added new WPT Test.
Fixes: https://github.com/servo/servo/issues/48637

Try run: https://github.com/rayguo17/servo/actions/runs/37416883494
Reviewed in servo/servo#48670

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1418 tests and 4 subtests

Status Summary

Firefox

OK : 1[GitHub] 376[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 3[GitHub] 29[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 4657[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 5594[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5595[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 2[GitHub] 154[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 225[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 228[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 229[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 5

Safari

OK : 1
PASS: 4
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6e331301101c https://hg.mozilla.org/integration/autoland/rev/a59043779d99 [wpt PR 63394] - flex: Consider precomputed min/max_main size when doing layout on indefinite sizing item of flex:column, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.