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)
Core
Layout: Grid
Tracking
()
NEW
People
(Reporter: TYLin, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
|
234 bytes,
text/html
|
Details |
| Comment hidden (obsolete) |
| Reporter | ||
Comment 1•2 years ago
•
|
||
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.