Skip to content

Commit 4e81c04

Browse files
committed
[css-grid-1] Require grid-template-areas to define at least one grid cell. #5110
1 parent 0a09543 commit 4e81c04

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-grid-1/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2108,7 +2108,9 @@ Named Areas: the 'grid-template-areas' property</h3>
21082108
and makes the declaration invalid.
21092109
</ul>
21102110

2111-
All strings must have the same number of columns,
2111+
All strings must define the same number of cell tokens
2112+
([=named cell tokens=] and/or [=null cell tokens=]),
2113+
and at least one cell token,
21122114
or else the declaration is invalid.
21132115
If a <a>named grid area</a> spans multiple <a>grid cells</a>,
21142116
but those cells do not form a single filled-in rectangle,
@@ -5031,6 +5033,10 @@ Minor Changes</h4>
50315033
is <a lt="generate baselines">generated</a> from
50325034
the shared <a>alignment baseline</a> of those <a>grid items</a>.
50335035
</blockquote>
5036+
5037+
<li id="change-2017-at-least-one-cell">
5038+
Required 'grid-template-areas' to define at least one cell in the grid;
5039+
''grid-template-areas: "" "";'' is invalid.
50345040
</ul>
50355041

50365042
<h4 id="clarify-2017">

0 commit comments

Comments
 (0)