|
59 | 59 | <h1 class="p-name no-ref" id=title>CSS Syntax Module Level 3</h1> |
60 | 60 | <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft, |
61 | 61 | <span class=dt-updated><span class=value-title title=20140303>3 March 2014</span></span></span></h2> |
62 | | - <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> |
| 62 | + <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> |
63 | 63 | <dt>Feedback:</dt> |
64 | 64 | <dd><a href="mailto:www-style@w3.org?subject=%5Bcss-syntax%5D%20feedback">www-style@w3.org</a> |
65 | 65 | with subject line |
@@ -179,12 +179,13 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class |
179 | 179 | <li><a href=#serialization><span class=secno>9</span> Serialization</a> |
180 | 180 | <ul class=toc> |
181 | 181 | <li><a href=#serializing-anb><span class=secno>9.1</span> Serializing <var><an+b></var></a></ul> |
182 | | - <li><a href=#changes><span class=secno>10</span> Changes</a> |
| 182 | + <li><a href=#changes0><span class=secno>10</span> Changes</a> |
183 | 183 | <ul class=toc> |
184 | 184 | <li><a href=#changes-WD-20131105><span class=secno>10.1</span> Changes from the 5 November 2013 Last Call Working Draft</a> |
185 | 185 | <li><a href=#changes-WD-20130919><span class=secno>10.2</span> Changes from the 19 September 2013 Working Draft</a> |
186 | 186 | <li><a href=#changes-css21><span class=secno>10.3</span> Changes from CSS 2.1 and Selectors Level 3</a></ul> |
187 | 187 | <li><a href=#acknowledgments><span class=secno></span> Acknowledgments</a> |
| 188 | + <li><a href=#changes><span class=secno></span> Changes Since the 20 Feb 2014 CR Publication</a> |
188 | 189 | <li><a href=#conformance><span class=secno></span> Conformance</a> |
189 | 190 | <ul class=toc> |
190 | 191 | <li><a href=#conventions><span class=secno></span> Document conventions</a> |
@@ -1940,7 +1941,7 @@ <h4 class="heading settled heading" data-level=4.3.1 id=consume-a-token><span cl |
1940 | 1941 |
|
1941 | 1942 | <dt>U+0022 QUOTATION MARK (") |
1942 | 1943 | <dd> |
1943 | | - <a data-link-type=dfn href=#consume-a-string-token0 title="consume a string token">Consume a string token</a> with the ending <a data-link-type=dfn href=#code-point title="code point">code point</a> U+0022 QUOTATION MARK (") |
| 1944 | + <a data-link-type=dfn href=#consume-a-string-token0 title="consume a string token">Consume a string token</a> |
1944 | 1945 | and return it. |
1945 | 1946 |
|
1946 | 1947 | <dt>U+0023 NUMBER SIGN (#) |
@@ -1983,7 +1984,7 @@ <h4 class="heading settled heading" data-level=4.3.1 id=consume-a-token><span cl |
1983 | 1984 |
|
1984 | 1985 | <dt>U+0027 APOSTROPHE (') |
1985 | 1986 | <dd> |
1986 | | - <a data-link-type=dfn href=#consume-a-string-token0 title="consume a string token">Consume a string token</a> with the ending <a data-link-type=dfn href=#code-point title="code point">code point</a> U+0027 APOSTROPHE (') |
| 1987 | + <a data-link-type=dfn href=#consume-a-string-token0 title="consume a string token">Consume a string token</a> |
1987 | 1988 | and return it. |
1988 | 1989 |
|
1989 | 1990 | <dt>U+0028 LEFT PARENTHESIS (() |
@@ -2278,8 +2279,10 @@ <h4 class="heading settled heading" data-level=4.3.4 id=consume-a-string-token>< |
2278 | 2279 | <p> This section describes how to <dfn data-dfn-type=dfn data-noexport="" id=consume-a-string-token0>consume a string token<a class=self-link href=#consume-a-string-token0></a></dfn> from a stream of <a data-link-type=dfn href=#code-point title="code points">code points</a>. |
2279 | 2280 | It returns either a <a class="production css-code" data-link-type=type href=#typedef-string-token title="<string-token>"><string-token></a> or <a class="production css-code" data-link-type=type href=#typedef-bad-string-token title="<bad-string-token>"><bad-string-token></a>. |
2280 | 2281 |
|
2281 | | -<p> This algorithm must be called with an <var>ending code point</var>, |
| 2282 | +<p> This algorithm may be called with an <var>ending code point</var>, |
2282 | 2283 | which denotes the <a data-link-type=dfn href=#code-point title="code point">code point</a> that ends the string. |
| 2284 | + If an <var>ending code point</var> is not specified, |
| 2285 | + the <a data-link-type=dfn href=#current-input-code-point title="current input code point">current input code point</a> is used. |
2283 | 2286 |
|
2284 | 2287 | <p> Initially create a <a class="production css-code" data-link-type=type href=#typedef-string-token title="<string-token>"><string-token></a> with its value set to the empty string. |
2285 | 2288 |
|
@@ -2344,7 +2347,8 @@ <h4 class="heading settled heading" data-level=4.3.5 id=consume-a-url-token><spa |
2344 | 2347 |
|
2345 | 2348 | <ol> |
2346 | 2349 | <li> |
2347 | | - <a data-link-type=dfn href=#consume-a-string-token0 title="consume a string token">Consume a string token</a> with the <a data-link-type=dfn href=#current-input-code-point title="current input code point">current input code point</a> as the ending code point. |
| 2350 | + Consume the <a data-link-type=dfn href=#next-input-code-point title="next input code point">next input code point</a>, |
| 2351 | + then <a data-link-type=dfn href=#consume-a-string-token0 title="consume a string token">consume a string token</a>. |
2348 | 2352 |
|
2349 | 2353 | <li> |
2350 | 2354 | If a <a class="production css-code" data-link-type=type href=#typedef-bad-string-token title="<bad-string-token>"><bad-string-token></a> was returned, |
@@ -4686,8 +4690,8 @@ <h3 class="heading settled heading" data-level=9.1 id=serializing-anb><span clas |
4686 | 4690 |
|
4687 | 4691 | <p> Return <var>s</var>. |
4688 | 4692 |
|
4689 | | -<h2 class="heading settled heading" data-level=10 id=changes><span class=secno>10 </span><span class=content> |
4690 | | -Changes</span><a class=self-link href=#changes></a></h2> |
| 4693 | +<h2 class="heading settled heading" data-level=10 id=changes0><span class=secno>10 </span><span class=content> |
| 4694 | +Changes</span><a class=self-link href=#changes0></a></h2> |
4691 | 4695 |
|
4692 | 4696 | <p> <em>This section is non-normative.</em> |
4693 | 4697 |
|
@@ -4881,6 +4885,26 @@ <h2 class="no-num heading settled heading" id=acknowledgments><span class=conten |
4881 | 4885 | Simon Pieter, |
4882 | 4886 | and Zack Weinberg. |
4883 | 4887 |
|
| 4888 | +<h2 class="no-num heading settled heading" id=changes><span class=content> |
| 4889 | +Changes Since the 20 Feb 2014 CR Publication</span><a class=self-link href=#changes></a></h2> |
| 4890 | + |
| 4891 | +<p> The following substantive changes were made: |
| 4892 | + |
| 4893 | +<p> <ul> |
| 4894 | + <li> |
| 4895 | + Fixed a bug in the "Consume a URL token" algorithm, |
| 4896 | + where it didn’t consume the quote character starting a string before attempting to consume the string. |
| 4897 | + </ul> |
| 4898 | + |
| 4899 | +<p> The following editorial changes were made: |
| 4900 | + |
| 4901 | +<p> <ul> |
| 4902 | + <li> |
| 4903 | + The "Consume a string token" algorithm was changed to allow calling it without specifying an explicit ending token, |
| 4904 | + so that it uses the current input token instead. |
| 4905 | + The three call-sites of the algorithm were changed to use that form. |
| 4906 | + </ul> |
| 4907 | + |
4884 | 4908 | <h2 class="no-ref no-num heading settled heading" id=conformance><span class=content> |
4885 | 4909 | Conformance</span><a class=self-link href=#conformance></a></h2> |
4886 | 4910 |
|
|
0 commit comments