Closed Bug 1799111 Opened 2 years ago Closed 1 year ago

[css-grid] Grid items crossing flexible tracks should not participate in auto min sizing

Categories

(Core :: Layout: Grid, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
109 Branch
Webcompat Priority P2
Tracking Status
firefox108 --- wontfix
firefox109 --- fixed

People

(Reporter: tlouw, Assigned: tlouw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Bug that tracks part of Bug 1530097.

Blocks: 1530097
No longer blocks: 1656584, 1658676, compat2021, 1779799
No longer depends on: 1530097

This is the first part of the bug. A clarification in the spec states
that a grid item spanning multiple tracks, which include a flexible
track, should not participate in auto min sizing calculation and should
have a width of 0.

https://w3c.github.io/csswg-drafts/css-grid-1/#min-size-auto

Assignee: nobody → tlouw
Status: NEW → ASSIGNED
Pushed by tlouw@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b2e56f907f70
Don't apply auto min sizing when spanning flexible tracks. r=emilio

Backed out for causing reftest failures on grid-track-fit-content-sizing-001.html

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: REFTEST TEST-UNEXPECTED-FAIL | layout/reftests/css-grid/grid-track-fit-content-sizing-001.html == layout/reftests/css-grid/grid-track-fit-content-sizing-001-ref.html | image comparison, max difference: 255, number of differing pixels: 640
Flags: needinfo?(tlouw)

Not sure why reftests failed, investigating.

Flags: needinfo?(tlouw)
Attachment #9301963 - Attachment description: Bug 1799111 - Don't apply auto min sizing when spanning flexible tracks. r=#layout-reviewers → Bug 1799111 - Don't apply auto min sizing when spanning flexible tracks. r=emilio
Pushed by tlouw@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ec2ad590b148
Don't apply auto min sizing when spanning flexible tracks. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Duplicate of this bug: 1708884
Duplicate of this bug: 1730965
Duplicate of this bug: 1751169

See bug 1530097 comment 17 - 18 -- I went through all of the dupes and webcompat issues associated with that bug, and I confirmed that they're all fixed* in Nightly 110 (and presumably 109 though I didn't test it), almost certainly due to the fix that landed in this bug here.

*In a few of the webcompat cases, the site had also been updated so that the issue had also gone away in older builds, so those were fixed for other reasons, but the original issue presumably would also have been fixed.

Duplicate of this bug: 1681354
Blocks: 1850374
Duplicate of this bug: 1850374
Duplicate of this bug: 1424401

Transferring WebCompat Priority:P2 from bug 1530097, since this bug's patch seems to have fixed all the known WebCompat issues that were associated with that bug, per bug 1530097 comment 17 - 19.

Webcompat Priority: --- → P2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: