Closed Bug 1639627 Opened 5 years ago Closed 5 years ago

[css-sizing] Make flex % row-gap resolve to 0 when height is indefinite (only flex, not grid)

Categories

(Core :: Layout: Flexbox, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: dholbert)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

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

[css-sizing] Make flex % row-gap resolve to 0 when height is indefinite (only flex, not grid)

  • RESOLVED: % based gaps for flex in the case of resolving against an indefinite constraint resolve to 0

Discussion.

Assignee: nobody → dholbert
Status: NEW → ASSIGNED

This basically means we should directly revert bug 1473047 (which is where we implemented the spec behavior that's being removed/simplified here).

Depends on: 1473047

This implements a CSSWG resolution in this issue:
https://github.com/w3c/csswg-drafts/issues/5081

This also effectively backs out our changes from
https://bugzilla.mozilla.org/show_bug.cgi?id=1473047
which is where we implemented our current behavior.

I'm fixing the reftest that we have on this behavior to expect that all of its
gaps (which are all in the affected category) resolve to 0; and I'm adjusting
our expectations for its WPT reimport to expect failure until the test changes
have made the roundtrip back into our WPT reimport.

Attachment #9150518 - Attachment description: Bug 1639627: Make flex percent 'gap' values resolve to 0, when they're resolved against an indefinite block-size. r?TYLin → Bug 1639627: Make flex percent 'row-gap' values resolve to 0, when they're resolved against an indefinite block-size. r?TYLin
Attachment #9150518 - Attachment description: Bug 1639627: Make flex percent 'row-gap' values resolve to 0, when they're resolved against an indefinite block-size. r?TYLin → Bug 1639627: [css-flex] Make flex-container percent 'row-gap' values resolve to 0, when they're resolved against an indefinite block-size. r?TYLin
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ed4c347cc66 [css-flex] Make flex-container percent 'row-gap' values resolve to 0, when they're resolved against an indefinite block-size. r=TYLin
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Blocks: 1656644
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: