Skip to content

Commit 8417de8

Browse files
committed
[css-grid] Align grid-template grammar dfn with the propdef table. Add ids to some complex grammar dfns.
1 parent 072d237 commit 8417de8

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

css-grid/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ Explicit Grid Shorthand: the 'grid-template' property</h3>
13101310
Sets 'grid-template-rows' and 'grid-template-columns' to ''grid-template-rows/subgrid'',
13111311
and 'grid-template-areas' to its initial value.
13121312

1313-
<dt><dfn><<'grid-template-columns'>> / <<'grid-template-rows'>></dfn>
1313+
<dt><dfn id='grid-template-rowcol'><<'grid-template-columns'>> / <<'grid-template-rows'>></dfn>
13141314
<dd>
13151315
Sets 'grid-template-columns' and 'grid-template-rows' to the specified values, respectively,
13161316
and sets 'grid-template-areas' to <a value for=grid-template-areas>none</a>.
@@ -1327,8 +1327,7 @@ Explicit Grid Shorthand: the 'grid-template' property</h3>
13271327
</pre>
13281328
</div>
13291329

1330-
<dt><dfn>[ <<track-list>> / ]?<br>
1331-
[ <<line-names>>? <<string>> [ <<track-size>> <<line-names>> ]? ]+</dfn>
1330+
<dt><dfn id='grid-template-ascii'>[ <<track-list>> / ]? [ <<line-names>>? <<string>> <<track-size>>? <<line-names>>? ]+</dfn>
13321331
<dd>
13331332
<ul>
13341333
<li>

css-grid/Overview.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</p>
9090
<h1 class="p-name no-ref" id=title>CSS Grid Layout Module Level 1</h1>
9191
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
92-
<span class=dt-updated><span class=value-title title=20140319>19 March 2014</span></span></span></h2>
92+
<span class=dt-updated><span class=value-title title=20140321>21 March 2014</span></span></span></h2>
9393
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-grid/>http://dev.w3.org/csswg/css-grid/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-grid-1/>http://www.w3.org/TR/css-grid-1/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-grid/>http://dev.w3.org/csswg/css-grid/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css3-grid-layout-20130402/ rel=previous>http://www.w3.org/TR/2013/WD-css3-grid-layout-20130402/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-grid-layout-20121106/ rel=previous>http://www.w3.org/TR/2012/WD-css3-grid-layout-20121106/</a>
9494
<dt>Feedback:</dt>
9595
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-grid%5D%20feedback">www-style@w3.org</a>
@@ -1400,7 +1400,7 @@ <h3 class="heading settled heading" data-level=5.3 id=explicit-grid-shorthand><s
14001400
Sets <a class=property data-link-type=propdesc href=#propdef-grid-template-rows title=grid-template-rows>grid-template-rows</a> and <a class=property data-link-type=propdesc href=#propdef-grid-template-columns title=grid-template-columns>grid-template-columns</a> to <a class=css data-link-for=grid-template-rows data-link-type=maybe href=#valuedef-subgrid0 title=subgrid>subgrid</a>,
14011401
and <a class=property data-link-type=propdesc href=#propdef-grid-template-areas title=grid-template-areas>grid-template-areas</a> to its initial value.
14021402

1403-
<dt><dfn class=css-code data-dfn-for=grid-template data-dfn-type=value data-export="" id=valuedef-grid-template-columns--grid-template-rows><a class=production data-link-type=propdesc href=#propdef-grid-template-columns title=grid-template-columns>&lt;‘grid-template-columns’&gt;</a> / <a class=production data-link-type=propdesc href=#propdef-grid-template-rows title=grid-template-rows>&lt;‘grid-template-rows’&gt;</a><a class=self-link href=#valuedef-grid-template-columns--grid-template-rows></a></dfn>
1403+
<dt><dfn class=css-code data-dfn-for=grid-template data-dfn-type=value data-export="" id=grid-template-rowcol><a class=production data-link-type=propdesc href=#propdef-grid-template-columns title=grid-template-columns>&lt;‘grid-template-columns’&gt;</a> / <a class=production data-link-type=propdesc href=#propdef-grid-template-rows title=grid-template-rows>&lt;‘grid-template-rows’&gt;</a><a class=self-link href=#grid-template-rowcol></a></dfn>
14041404
<dd>
14051405
Sets <a class=property data-link-type=propdesc href=#propdef-grid-template-columns title=grid-template-columns>grid-template-columns</a> and <a class=property data-link-type=propdesc href=#propdef-grid-template-rows title=grid-template-rows>grid-template-rows</a> to the specified values, respectively,
14061406
and sets <a class=property data-link-type=propdesc href=#propdef-grid-template-areas title=grid-template-areas>grid-template-areas</a> to <a class=css-code data-link-for=grid-template-areas data-link-type=value href=#valuedef-none1 title=none>none</a>.
@@ -1414,8 +1414,7 @@ <h3 class="heading settled heading" data-level=5.3 id=explicit-grid-shorthand><s
14141414
grid-template-areas: none;
14151415
</pre> </div>
14161416

1417-
<dt><dfn class=css-code data-dfn-for=grid-template data-dfn-type=value data-export="" id=valuedef--track-list---line-names-string--track-size-line-names-->[ <a class="production css-code" data-link-type=type href=#typedef-track-list title="<track-list>">&lt;track-list&gt;</a> / ]?<br>
1418-
[ <a class="production css-code" data-link-type=type href=#typedef-line-names title="<line-names>">&lt;line-names&gt;</a>? <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a> [ <a class="production css-code" data-link-type=type href=#typedef-track-size title="<track-size>">&lt;track-size&gt;</a> <a class="production css-code" data-link-type=type href=#typedef-line-names title="<line-names>">&lt;line-names&gt;</a> ]? ]+<a class=self-link href=#valuedef--track-list---line-names-string--track-size-line-names--></a></dfn>
1417+
<dt><dfn class=css-code data-dfn-for=grid-template data-dfn-type=value data-export="" id=grid-template-ascii>[ <a class="production css-code" data-link-type=type href=#typedef-track-list title="<track-list>">&lt;track-list&gt;</a> / ]? [ <a class="production css-code" data-link-type=type href=#typedef-line-names title="<line-names>">&lt;line-names&gt;</a>? <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#string-value title="<string>">&lt;string&gt;</a> <a class="production css-code" data-link-type=type href=#typedef-track-size title="<track-size>">&lt;track-size&gt;</a>? <a class="production css-code" data-link-type=type href=#typedef-line-names title="<line-names>">&lt;line-names&gt;</a>? ]+<a class=self-link href=#grid-template-ascii></a></dfn>
14191418
<dd>
14201419
<ul>
14211420
<li>
@@ -3712,7 +3711,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
37123711
<li>grid-template, <a href=#propdef-grid-template title="section 5.3">5.3</a>
37133712
<li>grid-template-areas, <a href=#propdef-grid-template-areas title="section 5.2">5.2</a>
37143713
<li>grid-template-columns, <a href=#propdef-grid-template-columns title="section 5.1">5.1</a>
3715-
<li>&lt;‘grid-template-columns’&gt; / &lt;‘grid-template-rows’&gt;, <a href=#valuedef-grid-template-columns--grid-template-rows title="section 5.3">5.3</a>
3714+
<li>&lt;‘grid-template-columns’&gt; / &lt;‘grid-template-rows’&gt;, <a href=#grid-template-rowcol title="section 5.3">5.3</a>
37163715
<li>grid-template-rows, <a href=#propdef-grid-template-rows title="section 5.1">5.1</a>
37173716
<li>Grid track, <a href=#grid-track title="section 2.1">2.1</a>
37183717
<li>growable tracks, <a href=#growable-tracks title="section 11.4">11.4</a>
@@ -3772,8 +3771,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
37723771
</ul><li>&lt;track-breadth&gt;, <a href=#typedef-track-breadth title="section 5.1">5.1</a>
37733772
<li>&lt;track-list&gt;, <a href=#typedef-track-list title="section 5.1">5.1</a>
37743773
<li>track list, <a href=#track-list title="section 5.1">5.1</a>
3775-
<li>[ &lt;track-list&gt; / ]?
3776-
[ &lt;line-names&gt;? &lt;string&gt; [ &lt;track-size&gt; &lt;line-names&gt; ]? ]+, <a href=#valuedef--track-list---line-names-string--track-size-line-names-- title="section 5.3">5.3</a>
3774+
<li>[ &lt;track-list&gt; / ]? [ &lt;line-names&gt;? &lt;string&gt; &lt;track-size&gt;? &lt;line-names&gt;? ]+, <a href=#grid-template-ascii title="section 5.3">5.3</a>
37773775
<li>&lt;track-size&gt;, <a href=#typedef-track-size title="section 5.1">5.1</a>
37783776
<li>track sizing algorithm, <a href=#track-sizing-algorithm0 title="section 11.2">11.2</a>
37793777
<li>track sizing function, <a href=#track-sizing-function title="section 5.1">5.1</a>

0 commit comments

Comments
 (0)