[css-grid-3] `grid-template-areas` in masonry
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
https://drafts.csswg.org/css-grid-3/ seems to assume that the explicit grid has 0 tracks in the masonry axis.
This is usually the case, since grid-template-rows/columns needs to be set to masonry instead of a list of track sizes.
However, grid-template-areas can also add tracks into the explicit grid.
I still don't fully understand how masonry works, but testing in Firefox it seems that grid-template-areas is allowed to name lines but not create explicit tracks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CSS Grid Level 3 draft at https://drafts.csswg.org/css-grid-3/, focusing on masonry and grid-template-areas. Compare the draft’s assumptions about explicit tracks with the reported Firefox behavior. Done means the specification clearly resolves whether grid-template-areas creates tracks in the masonry axis or only names lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100