Skip to content

Commit 4ca6811

Browse files
committed
[css-syntax] 'Consume a component value' always returns something.
1 parent 6750c78 commit 4ca6811

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

css-syntax/Overview.bs

-2
Original file line numberDiff line numberDiff line change
@@ -2252,8 +2252,6 @@ Parse a component value</h4>
22522252
<li>
22532253
<a>Consume a component value</a>
22542254
and let <var>value</var> be the return value.
2255-
If nothing is returned,
2256-
return a syntax error.
22572255

22582256
<li>
22592257
While the <a>next input token</a> is a <<whitespace-token>>,

css-syntax/Overview.html

+3-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</p>
5959
<h1 class="p-name no-ref" id=title>CSS Syntax Module Level 3</h1>
6060
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
61-
<span class=dt-updated><span class=value-title title=20140414>14 April 2014</span></span></span></h2>
61+
<span class=dt-updated><span class=value-title title=20140416>16 April 2014</span></span></span></h2>
6262
<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/2014/CR-css-syntax-3-20140220/ rel=previous>http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/</a><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>
6363
<dt>Feedback:</dt>
6464
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-syntax%5D%20feedback">www-style@w3.org</a>
@@ -177,7 +177,7 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class
177177
<li><a href=#css-stylesheets><span class=secno>8</span> CSS stylesheets</a>
178178
<ul class=toc>
179179
<li><a href=#style-rules><span class=secno>8.1</span> Style rules</a>
180-
<li><a href=#charset-rule><span class=secno>8.2</span> The <a class=css data-link-type=maybe href=#at-ruledef-charset title=@charset>@charset</a> Rule</a></ul>
180+
<li><a href=#charset-rule><span class=secno>8.2</span> The <span class=css data-link-type=maybe title=@charset>@charset</span> Rule</a></ul>
181181
<li><a href=#serialization><span class=secno>9</span> Serialization</a>
182182
<ul class=toc>
183183
<li><a href=#serializing-anb><span class=secno>9.1</span> Serializing <var>&lt;an+b&gt;</var></a></ul>
@@ -3749,7 +3749,7 @@ <h4 class="heading settled heading" data-level=5.3.5 id=parse-a-list-of-declarat
37493749

37503750
<p class=note> Note: Despite the name,
37513751
this actually parses a mixed list of declarations and at-rules,
3752-
as CSS 2.1 does for <a href=http://www.w3.org/TR/CSS21/page.html#page-box><span class=css data-link-type=maybe title=@page>@page</span></a>.
3752+
as CSS 2.1 does for <a href=http://www.w3.org/TR/CSS21/page.html#page-box></a><span class=css data-link-type=maybe title=@page>@page</span>.
37533753
Unexpected at-rules (which could be all of them, in a given context)
37543754
are invalid and should be ignored by the consumer.
37553755

@@ -3780,8 +3780,6 @@ <h4 class="heading settled heading" data-level=5.3.6 id=parse-a-component-value>
37803780
<li>
37813781
<a data-link-type=dfn href=#consume-a-component-value0 title="consume a component value">Consume a component value</a>
37823782
and let <var>value</var> be the return value.
3783-
If nothing is returned,
3784-
return a syntax error.
37853783

37863784
<li>
37873785
While the <a data-link-type=dfn href=#next-input-token title="next input token">next input token</a> is a <a class="production css-code" data-link-type=type href=#typedef-whitespace-token title="<whitespace-token>">&lt;whitespace-token&gt;</a>,

0 commit comments

Comments
 (0)