Open Bug 1919979 Opened 2 years ago Updated 2 years ago

Grid item width with aspect-ratio under grid-template-columns: minmax(auto,10px) is contrained by max 10px

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

People

(Reporter: TYLin, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Attached file Testcase 1 —

Load the attached testcase. Firefox render the <canvas> as 10px green square. Blink and webkit render it as 100px green square.

The item is in a grid-template-columns: minmax(auto,10px) track. Per https://drafts.csswg.org/css-grid-2/#valdef-grid-template-columns-auto,

As a minimum: represents the largest minimum size (specified by min-width/min-height) of the grid items occupying the grid track.

Attachment #9426058 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: