Closed Bug 1637462 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 23556 - [AspectRatio] Handle min-inline-size: auto for aspect ratio

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Christian Biesinger <cbiesinger@chromium.org> wrote:

[AspectRatio] Handle min-inline-size: auto for aspect ratio

For the default min-height/width, aspect-ratio should only be the minimum
size, and the resulting inline size should grow to fit all the content:
https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum

This is the inline version of https://crrev.com/c/2186076

Bug: 1045668
Change-Id: I55eb523ef53df09a64f55ea2883abeb75e1d778c
Reviewed-on: https://chromium-review.googlesource.com/2197341
WPT-Export-Revision: ddd94dabd82038610f75830885d6ea3c521c9305

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 4 tests

Status Summary

Firefox

PASS: 1
FAIL: 3

Chrome

PASS: 1
FAIL: 3

Safari

PASS: 1
FAIL: 3

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-sizing/aspect-ratio/block-aspect-ratio-016.tentative.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-sizing/aspect-ratio/block-aspect-ratio-018.tentative.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-sizing/aspect-ratio/block-aspect-ratio-015.tentative.html: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e7ed0c3e880f [wpt PR 23556] - [AspectRatio] Handle min-inline-size: auto for aspect ratio, a=testonly https://hg.mozilla.org/integration/autoland/rev/4ffdf05ef860 [wpt PR 23556] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.