Skip to content

Commit 6b5b6ee

Browse files
committed
[css-grid] Per WG resolution, make a sequence of '.'s a null cell token (not just one).
1 parent f7a56a8 commit 6b5b6ee

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

css-grid/Overview.bs

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,13 @@ Grid Layering of Elements</h3>
320320
* items. The line names are assigned on either side of a column
321321
* or row sizing function where the line would logically exist. */
322322
grid-template-columns:
323-
(start) auto
324-
(track-start) 0.5fr
325-
(thumb-start) auto
326-
(fill-split) auto
327-
(thumb-end) 0.5fr
328-
(track-end) auto
329-
(end);
323+
[start] auto
324+
[track-start] 0.5fr
325+
[thumb-start] auto
326+
[fill-split] auto
327+
[thumb-end] 0.5fr
328+
[track-end] auto
329+
[end];
330330
}
331331

332332
/* The grid-placement properties accept named lines. Below the
@@ -1500,7 +1500,7 @@ Named Areas: the 'grid-template-areas' property</h3>
15001500
representing a <dfn>named cell token</dfn>
15011501
with a name consisting of its code points.
15021502
<li>
1503-
A "." (U+002E FULL STOP),
1503+
A sequence of one or more "." (U+002E FULL STOP),
15041504
representing a <dfn>null cell token</dfn>.
15051505

15061506
<li>
@@ -1558,7 +1558,7 @@ Named Areas: the 'grid-template-areas' property</h3>
15581558
display: grid;
15591559
grid-template-areas: "head head"
15601560
"nav main"
1561-
"foot . "
1561+
"foot ...."
15621562
}
15631563
#grid > header { grid-area: head; }
15641564
#grid > nav { grid-area: nav; }
@@ -3625,6 +3625,8 @@ Changes</h2>
36253625
* A <a>subgrid</a> now only ignores width/height/alignment constraints in the subgridded dimension(s).
36263626
* Made ''repeat(auto)'' pay attention to max size when it's definite, too.
36273627
* Per WG resolution, switched to using square brackets for <<line-names>>, rather than parentheses.
3628+
* Per WG resolution, made a *sequence* of "." characters a single <a>null cell token</a>,
3629+
so authors can match the number of dots to the width of the column.
36283630

36293631

36303632
<h3 id="changes-20140513">

0 commit comments

Comments
 (0)