Closed
Bug 1339672
Opened 8 years ago
Closed 5 years ago
[css-grid] grid-auto-columns/rows should accept multiple track-size values
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla70
People
(Reporter: MatsPalmgren_bugz, Assigned: boris)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, DevAdvocacy, testcase, Whiteboard: [devRel:P1][wptsync upstream])
Attachments
(3 files)
https://drafts.csswg.org/css-grid/#auto-tracks
"
Value: <track-size>+
"
(This is an old Grid spec change that happened together with the "simplified subgrid"
changes so we apparently missed it.)
Updated•7 years ago
|
Keywords: DevAdvocacy
Whiteboard: [devRel:P1]
Comment 3•6 years ago
|
||
Blink/Edge/WebKit accept multiple track-size values.
Comment 4•6 years ago
|
||
I've just hit this bug too - here's a CodePen -- https://codepen.io/sturobson/pen/b9b47e83d372cc4834aed7585e0e8b52?editors=1100
Would love this to be working :)
This becomes an issue for the classic card-layout subgrid use-case. See https://codepen.io/mirisuzanne/pen/XQGJbe?editors=0100 where it is impossible to establish individual sizing for the three repeating auto-generated rows that would be required.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → boris.chiou
Assignee | ||
Comment 6•5 years ago
|
||
Looks like this is a web-compatible issue now, and I guess what we need is update the types of grid-auto-columns
& grid-auto-rows
, and update nsGridContainerFrame::TrackSizingFunctions
to accept an array of auto size.
Assignee | ||
Comment 7•5 years ago
|
||
Support <track-size>+
on the implicit track sizing properties,
grid-auto-columns and grid-auto-rows.
Assignee | ||
Comment 8•5 years ago
|
||
The screenshot of https://codepen.io/mirisuzanne/pen/XQGJbe?editors=0100 after applying the patch.
Assignee | ||
Updated•5 years ago
|
Keywords: dev-doc-needed
Comment 10•5 years ago
|
||
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e4bb211b673
Support multiple track sizes for grid-auto-{columns|rows}. r=emilio,mats
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18302 for changes under testing/web-platform/tests
Whiteboard: [devRel:P1] → [devRel:P1][wptsync upstream]
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 13•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Upstream PR merged
Updated•5 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•