Closed Bug 1936854 Opened 2 months ago Closed 16 days ago

WPT failures in css/css-grid/grid-definition/flex-item-grid-container-auto-repeat-002.html

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(1 file)

Bug 1936276 adds a new wpt flex-item-grid-container-auto-repeat-002.html that fails.

I think when computing grid container's min-content size, we should use only one repeat column. We can observe the min-content size behavior of a grid container by making it a flex item, and see its content size suggestion.

RepeatTrackSizingInput::InitFromStyle() is called in
nsGridContainerFrame::ComputeIntrinsicISize(). When we compute a frame's
intrinsic inline-size, it's inline-size should not affect the result.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Attachment #9462357 - Attachment description: Bug 1936854 - Disregard style inline-size when computing grid intrinsic inline-size with auto repeat tracks. → Bug 1936854 - Disregard inline-size property when computing grid intrinsic inline size with auto repeat tracks.
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/951dded26024 Disregard inline-size property when computing grid intrinsic inline size with auto repeat tracks. r=layout-grid-reviewers,dholbert
Status: ASSIGNED → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Blocks: 1930672
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: