Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is span used to span tracks or lines? #33066

Closed
alvinkatojr opened this issue Apr 12, 2024 · 0 comments · Fixed by #34695
Closed

Is span used to span tracks or lines? #33066

alvinkatojr opened this issue Apr 12, 2024 · 0 comments · Fixed by #34695
Labels
Content:CSS Cascading Style Sheets docs help wanted If you know something about this topic, we would love your help!

Comments

@alvinkatojr
Copy link

alvinkatojr commented Apr 12, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Grid_layout_using_line-based_placement

What specific section or headline is this issue about?

Using the span keyword

What information was incorrect, unhelpful, or incomplete?

This statement: "you can specify a start line and then the number of tracks you would like the area to span." states that the span keyword is used to mention the number of tracks that will be spanned.

Later in the section: "In the first we set the start row line, then the end line we explain that we want to span 3 lines. The area will start at line 1 and span 3 lines to line 4." which implies that span is used to refer the number of lines will be spanned.

Grid tracks and lines are two different concepts, so when we use span in what are we actually referring to: grids or tracks??

What did you expect to see?

Span as referenced here on MDN "contributes a grid span to the grid item's placement such that the corresponding edge of the grid item's grid area is n lines from the opposite edge." Therefore the section needs to correctly refer to lines and remove any mention of the word tracks which is wrong and confusing to users.

Do you have any supporting links, references, or citations?

[Span](Contributes a grid span to the grid item's placement such that the corresponding edge of the grid item's grid area is n lines from the opposite edge.)

Do you have anything more you want to share?

Screenshot 2024-04-13 at 00 56 05
Screenshot 2024-04-13 at 00 56 24

MDN metadata

Page report details
@alvinkatojr alvinkatojr added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 12, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Apr 12, 2024
@alvinkatojr alvinkatojr changed the title Confusing explanation on the span keyword Apr 12, 2024
@Josh-Cena Josh-Cena changed the title Confusing/wrong explanation of the span keyword Jun 5, 2024
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs help wanted If you know something about this topic, we would love your help!
2 participants