Closed Bug 1841677 Opened 2 years ago Closed 8 months ago

WPT failures in css/css-grid/grid-definition with repeat(auto-fill/auto-fit, ...)

Categories

(Core :: Layout: Grid, defect, P3)

defect

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: twisniewski, Assigned: alaskanemily)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Component: Layout → Layout: Grid
Severity: -- → S3
Priority: -- → P3

The first 4 plus grid-auto-repeat-minmax.html are all caused by us not measuring repeat(.., minmax) where max < min correctly.

The others might actually be parsing or serialization related, but I'm unsure (I will be looking into them once the minmax fix is done). Definitely a different cause.

Assignee: nobody → emcdonough

This was already happening correctly when placing grid items, but it was not
implemented correctly when measuring the overal grid size.

Ideally, MaxSizingFor or some kind of replacement could do this kind of check
already. If you don't want to fiddle around with sizing functions then you
probably want to perform this check every time, and if you really need the
max sizing function directly you can just get it with SizingFor.

Pushed by emcdonough@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f9624ffc06a9 Fix incorrect flooring of grid auto-repeat with minmax(.., ..)) when max < min r=dholbert
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: