Closed Bug 1911682 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 47468 - [layout] Support min-height:min-content in more general case.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[layout] Support min-height:min-content in more general case.

This patch implements min-height:min-content (and friends)for all
other layout modes (we already have this for flex, replaced, and
abspos).

This does this by passing the BlockSizeFunc lambda into our
ComputeMinMaxBlockSizes function.

Bug: 40151761
Change-Id: I2cec527a69a6d03cbea989d75e9621b3db1817d0

Reviewed-on: https://chromium-review.googlesource.com/5754962
WPT-Export-Revision: 6daa5ce7a6ab70b55d904220ca50948f6645dd19

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

CI Results

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

Total 6 tests

Status Summary

Firefox

FAIL: 6

Chrome

FAIL: 6

Safari

PASS: 2
FAIL: 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9da7e0de2519 [wpt PR 47468] - [layout] Support min-height:min-content in more general case., a=testonly https://hg.mozilla.org/integration/autoland/rev/57cedd7d22f3 [wpt PR 47468] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.