Skip to content

Commit 2801557

Browse files
committed
[css-grid-1] Specify that grid-template <string> whitespace is normalized to just a single space between cell tokens. Fixes #4335.
1 parent 26d78af commit 2801557

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

css-grid-1/Overview.bs

+7-4
Original file line numberDiff line numberDiff line change
@@ -2085,10 +2085,13 @@ Named Areas: the 'grid-template-areas' property</h3>
20852085
</pre>
20862086
</div>
20872087

2088-
Both the <a>specified value</a> and <a>computed value</a>
2089-
of a <<string>> value of 'grid-template-areas' serializes
2090-
each <a>null cell token</a> as a single "." (U+002E FULL STOP)
2091-
and each sequence of <a>whitespace</a> as a single space (U+0020 SPACE).
2088+
<h4 id="serialize-template">
2089+
Serialization Of Template Strings</h4>
2090+
2091+
When serializing either the [=specified value|specified=] or [=computed value=] of a <<string>> value of 'grid-template-areas',
2092+
each [=null cell token=] is serialized as a single "." (U+002E FULL STOP),
2093+
and consecutive cell tokens are separated by a single space (U+0020 SPACE),
2094+
with all other white space elided.
20922095

20932096
<h4 id="implicit-named-lines">
20942097
Implicit Named Lines</h4>

0 commit comments

Comments
 (0)