Closed Bug 1703304 Opened 3 years ago Closed 3 years ago

[css-flexbox] [css-sizing-4] Interaction of flexbox minimum height and aspect-ratio minimum height

Categories

(Core :: Layout: Flexbox, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: TYLin)

References

Details

Attachments

(1 file)

A resolution was made for csswg-drafts/#6069.

[css-flexbox] [css-sizing-4] Interaction of flexbox minimum height and aspect-ratio minimum height

  • RESOLVED: non-replaced elements with an aspect ratio honor the intrinsic size in flexbox for min-height:auto

Discussion.

Component: Layout → Layout: Flexbox

If the flex item is non-replaced and its min-width/min-height is 'auto',
its content size suggestion should be resolved by using the
aspect-ratio's content-based minimum sizes, making its min size behave
the same as if it is not in a flex container.
https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum

This patch also fixed https://github.com/web-platform-tests/wpt/issues/27878

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Attachment #9217220 - Attachment description: Bug 1703304 - Compute transferred size suggestion only if a flex item is replaced. → Bug 1703304 - Compute transferred size suggestion only if a flex item is a replaced element.
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/fb14e6d29a44
Compute transferred size suggestion only if a flex item is a replaced element. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28772 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: