Skip to content

Commit b921025

Browse files
ericwilligersfantasai
authored andcommitted
[css-grid] Exclude 'auto' from line name
The custom-ident for line name cannot be 'auto'. Resolved in w3c#2856 (comment) fixes w3c#2856
1 parent 89b77b9 commit b921025

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

css-grid-1/Overview.bs

+7-3
Original file line numberDiff line numberDiff line change
@@ -1583,9 +1583,9 @@ Named Grid Lines: the <css>[<<custom-ident>>*]</css> syntax</h4>
15831583
</figure>
15841584
</div>
15851585

1586-
A line name cannot be <css>span</css>,
1586+
A line name cannot be <css>span</css> or <css>auto</css>,
15871587
i.e. the <<custom-ident>> in the <<line-names>> production
1588-
excludes the keyword <css>span</css>.
1588+
excludes the keywords <css>span</css> and <css>auto</css>.
15891589

15901590
<!--
15911591
████████ ████████ ████████ ████████ ███ ████████ ███ ███
@@ -2848,7 +2848,7 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
28482848
</dl>
28492849

28502850
In all the above productions,
2851-
the <<custom-ident>> additionally excludes the keyword <css>span</css>.
2851+
the <<custom-ident>> additionally excludes the keywords <css>span</css> and <css>auto</css>.
28522852

28532853
<div class='example'>
28542854
Given a single-row, 8-column grid and the following 9 named lines:
@@ -4438,6 +4438,10 @@ Major Changes</h4>
44384438
If a grid item is placed outside this limit,
44394439
its grid area must be <a>clamped</a> to within this limited grid.
44404440
</blockquote>
4441+
4442+
<li id="change-2018-line-name-auto">
4443+
Exclude 'auto' from line name <<custom-ident>>.
4444+
(<a href="https://github.com/w3c/csswg-drafts/issues/2856">Issue 2856</a>)
44414445
</ul>
44424446

44434447
<h4 id="clarify-2017">

0 commit comments

Comments
 (0)