Closed Bug 1680417 Opened 4 years ago Closed 4 years ago

Flex item's auto main min-size should be clamped by the definite max main size

Categories

(Core :: Layout: Flexbox, task)

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

A recent spec editing says that all three size suggestions (specified, transferred, and content) should be clamped by the main max-size if it's definite.

We currently only clamp the specified size suggestion and the content size suggestion.

Since content size suggestion is always computed, this spec edit doesn't change the behavior, and we can just apply the clamping after the auto main min size is resolved.

Since content size suggestion is always computed, and we've apply the
clamp on it before, this doesn't change the behavior.

Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e090b0e10f5d Clamp resolved auto min main size by the definite max main size as the last step. r=dholbert
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: