w3c / w3c/csswg-drafts

[css-grid] Mark some cells as busy so they are skip in auto-placement

Open
#4,012 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-grid-3
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

This idea was already introduced by @jensimmons long time ago at TPAC 2016: https://speakerdeck.com/jensimmons/proposal-to-csswg-sept-2016?slide=51
But I'm just reporting the issue here to track it for future work/proposals around CSS Grid Layout.

I guess it'd be nice to have some kind of syntax that allows us to mark some cells as busy (even without the need to place there empty dummy elements), and the auto-placement algorithm would skip them.

Of course we need to think also in a syntax, so we can refer to a list of cells not a single one.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue description and the linked TPAC 2016 proposal, especially slide 51, to understand the earlier CSS Grid idea. The work is not implementation-ready: done would require an agreed syntax for marking one or more cells busy and a defined change to the auto-placement algorithm.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.