w3c / w3c/csswg-drafts

[css-grid] Clarify "grid-modified document order" definition

Open
#8,334 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-grid-2
Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

Description

https://drafts.csswg.org/css-grid-2/#grid-order

Grid-modified document order (grid order) is the order in which grid items are encountered when traversing the grid’s grid cells. If two items are encountered at the same time, they are taken in order-modified document order.

The definition should clarify that references to this term are supposed to specify the major axis, explain what the major axis is, and probably have a diagram similar to this one from https://en.wikipedia.org/wiki/Row-_and_column-major_order by CMG Lee (CC BY-SA 4.0, no changes made)

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 CSS Grid 2 grid-order definition linked in the issue. Clarify that references specify the major axis, explain the major axis, and consider adding a row- or column-major-order diagram like the cited example. Done means the definition and any illustration remove the ambiguity around traversal order.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.