Skip to content

Commit 9606522

Browse files
committed
[css-grid] Link whitespace, don't mention CSS escapes.
1 parent 61c3d4a commit 9606522

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

css-grid/Overview.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ <h3 class="heading settled heading" data-level=5.2 id=grid-template-areas-proper
12881288
representing a <dfn data-dfn-type=dfn data-noexport="" id=null-cell-token>null cell token<a class=self-link href=#null-cell-token></a></dfn>.
12891289

12901290
<li>
1291-
A sequence of whitespace,
1291+
A sequence of <a data-link-type=dfn href=http://dev.w3.org/csswg/css-syntax-3/#whitespace title=whitespace>whitespace</a>,
12921292
representing nothing
12931293
(do not produce a token).
12941294

@@ -1297,9 +1297,7 @@ <h3 class="heading settled heading" data-level=5.2 id=grid-template-areas-proper
12971297
representing a <dfn data-dfn-type=dfn data-noexport="" id=trash-token>trash token<a class=self-link href=#trash-token></a></dfn>.
12981298
</ul>
12991299

1300-
<p class=note> Note: Other CSS syntax, such as character escapes, is not valid within a row string.
1301-
(The \ character that would start a character escape produces a trash token instead.)
1302-
These rules can produce cell names that do not match the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#ltident title="<ident>">&lt;ident&gt;</a> syntax,
1300+
<p class=note> Note: These rules can produce cell names that do not match the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#ltident title="<ident>">&lt;ident&gt;</a> syntax,
13031301
such as "1st 2nd 3rd",
13041302
which requires escaping when referencing those areas by name in other properties,
13051303
like <a class=css data-link-type=propdesc href=#propdef-grid-row title=grid-row>grid-row: \31st;</a> to reference the area named <span class=css data-link-type=maybe title=1st>1st</span>.

css-grid/Overview.src.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ <h3 id="grid-template-areas-property">
12141214
representing a <dfn>null cell token</dfn>.
12151215

12161216
<li>
1217-
A sequence of whitespace,
1217+
A sequence of <a>whitespace</a>,
12181218
representing nothing
12191219
(do not produce a token).
12201220

@@ -1223,9 +1223,7 @@ <h3 id="grid-template-areas-property">
12231223
representing a <dfn>trash token</dfn>.
12241224
</ul>
12251225

1226-
Note: Other CSS syntax, such as character escapes, is not valid within a row string.
1227-
(The \ character that would start a character escape produces a trash token instead.)
1228-
These rules can produce cell names that do not match the <<ident>> syntax,
1226+
Note: These rules can produce cell names that do not match the <<ident>> syntax,
12291227
such as "1st 2nd 3rd",
12301228
which requires escaping when referencing those areas by name in other properties,
12311229
like ''grid-row: \31st;'' to reference the area named ''1st''.

0 commit comments

Comments
 (0)