[css-syntax] Require to start with an <ident-token> in Parse a declaration.

Mon, 09 Dec 2013 09:55:18 +0000

author
Simon Sapin <simon.sapin@exyr.org>
date
Mon, 09 Dec 2013 09:55:18 +0000
changeset 9664
a0cc389d0c55
parent 9663
372e659027a0
child 9665
1a33b5e556cc

[css-syntax] Require to start with an <ident-token> in Parse a declaration.

css-syntax/Overview.html file | annotate | diff | comparison | revisions
css-syntax/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css-syntax/Overview.html	Fri Dec 06 14:33:41 2013 +0000
     1.2 +++ b/css-syntax/Overview.html	Mon Dec 09 09:55:18 2013 +0000
     1.3 @@ -54,7 +54,7 @@
     1.4  </p>
     1.5    <h1 class="p-name no-ref" id=title>CSS Syntax Module Level 3</h1>
     1.6    <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
     1.7 -    <span class=dt-updated><span class=value-title title=20131202>2 December 2013</span></span></span></h2>
     1.8 +    <span class=dt-updated><span class=value-title title=20131209>9 December 2013</span></span></span></h2>
     1.9    <div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-syntax/>http://dev.w3.org/csswg/css-syntax/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-syntax-3/>http://www.w3.org/TR/css-syntax-3/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-syntax/>http://dev.w3.org/csswg/css-syntax/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/</a>
    1.10      <dt>Feedback:</dt>
    1.11          <dd><a href="mailto:www-style@w3.org?subject=%5Bcss-syntax%5D%20feedback">www-style@w3.org</a>
    1.12 @@ -3697,6 +3697,10 @@
    1.13  			<a data-link-type=dfn href=#consume-the-next-input-token title="consume the next input token">consume the next input token</a>.
    1.14  
    1.15  		<li>
    1.16 +			If the <a data-link-type=dfn href=#current-input-token title="current input token">current input token</a> is not an <a class="production css-code" data-link-type=type href=#typedef-ident-token title="<ident-token>">&lt;ident-token&gt;</a>,
    1.17 +			return a syntax error.
    1.18 +
    1.19 +		<li>
    1.20  			<a data-link-type=dfn href=#consume-a-declaration0 title="consume a declaration">Consume a declaration</a>.
    1.21  			If anything was returned, return it.
    1.22  			Otherwise, return a syntax error.
     2.1 --- a/css-syntax/Overview.src.html	Fri Dec 06 14:33:41 2013 +0000
     2.2 +++ b/css-syntax/Overview.src.html	Mon Dec 09 09:55:18 2013 +0000
     2.3 @@ -2201,6 +2201,10 @@
     2.4  			<a>consume the next input token</a>.
     2.5  
     2.6  		<li>
     2.7 +			If the <a>current input token</a> is not an <<ident-token>>,
     2.8 +			return a syntax error.
     2.9 +
    2.10 +		<li>
    2.11  			<a>Consume a declaration</a>.
    2.12  			If anything was returned, return it.
    2.13  			Otherwise, return a syntax error.

mercurial