Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions css-grid/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2594,9 +2594,9 @@ Named Lines and Spans</h4>
<div class='example'>
<pre>
.six {
grid-row: text 5 / text 7;
grid-row: 5 text / 7 text;
/* Span between the 5th and 7th lines named "text". */
grid-row: text 5 / span text 2;
grid-row: 5 text / span 2 text;
/* Same as above - start at the 5th line named "text",
then span across two more "text" lines, to the 7th. */
}
Expand Down Expand Up @@ -2813,21 +2813,21 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
grid-column-start: auto; grid-column-end: 6;
/* Line 5 to line 6 */

grid-column-start: C; grid-column-end: C -1;
grid-column-start: C; grid-column-end: -1 C;
/* Line 3 to line 9 */

grid-column-start: C; grid-column-end: span C;
/* Line 3 to line 6 */

grid-column-start: span C; grid-column-end: C -1;
grid-column-start: span C; grid-column-end: -1 C;
/* Line 6 to line 9 */

grid-column-start: span C; grid-column-end: span C;
/* Error: The end span is ignored, and an auto-placed
item can't span to a named line.
Equivalent to ''grid-column: span 1;''. */

grid-column-start: 5; grid-column-end: C -1;
grid-column-start: 5; grid-column-end: -1 C;
/* Line 5 to line 9 */

grid-column-start: 5; grid-column-end: span C;
Expand All @@ -2836,7 +2836,7 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
grid-column-start: 8; grid-column-end: 8;
/* Error: line 8 to line 9 */

grid-column-start: B 2; grid-column-end: span 1;
grid-column-start: 2 B; grid-column-end: span 1;
/* Line 5 to line 6 */
</pre>
</div>
Expand Down