Skip to content

Commit a49a6ab

Browse files
committed
[css-grid] You can't omit the <integer> from the second grid-row-start clause.
--HG-- extra : rebase_source : 2d069f10ca23cfd1a28dfbef9ee8c91aef3e73d9
1 parent 1ab85f1 commit a49a6ab

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

css-grid/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,10 +2152,9 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
21522152
it specifies the <em>last</em> such named line;
21532153
or the first, if the <<integer>> is negative.)
21542154

2155-
If the <<integer>> is omitted, it defaults to ''1''.
2156-
A value of zero makes the declaration invalid.
2155+
A <<integer>> value of zero makes the declaration invalid.
21572156

2158-
<dt><dfn id='grid-placement-span-int'>span &amp;&amp; [ <<integer>> || <<custom-ident>> ]</var></dfn>
2157+
<dt><dfn id='grid-placement-span-int'>span && [ <<integer>> || <<custom-ident>> ]</var></dfn>
21592158
<dd>
21602159
Contributes a <a>grid span</a> to the <a>grid item</a>’s <a>placement</a>
21612160
such that the corresponding edge of the <i>grid item</i>’s <a>grid area</a> is <var>N</var> lines from its opposite edge.

css-grid/Overview.html

Lines changed: 2 additions & 3 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=20140303>3 March 2014</span></span></span></h2>
92+
<span class=dt-updated><span class=value-title title=20140304>4 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>
@@ -2156,8 +2156,7 @@ <h3 class="heading settled heading" data-level=8.2 id=line-placement><span class
21562156
it specifies the <em>last</em> such named line;
21572157
or the first, if the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a> is negative.)
21582158

2159-
<p> If the <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a> is omitted, it defaults to <span class=css data-link-type=maybe title=1>1</span>.
2160-
A value of zero makes the declaration invalid.
2159+
<p> A <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a> value of zero makes the declaration invalid.
21612160

21622161
<dt><dfn class=css-code data-dfn-for="<grid-line>" data-dfn-type=value data-export="" id=grid-placement-span-int>span &amp;&amp; [ <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a> || <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#identifier-value title="<custom-ident>">&lt;custom-ident&gt;</a> ]<a class=self-link href=#grid-placement-span-int></a></dfn>
21632162
<dd>

0 commit comments

Comments
 (0)