Skip to content

Commit 68d6f5e

Browse files
committed
[css-syntax] Add Encoding to normative references.
1 parent 83fb505 commit 68d6f5e

3 files changed

Lines changed: 16 additions & 9 deletions

File tree

biblio.ref

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8651,3 +8651,10 @@
86518651
%O 中华人民共和国国家标准
86528652
%D 1995
86538653

8654+
%L ENCODING
8655+
%T Encoding
8656+
%A Anne van Kesteren
8657+
%A Joshua Bell
8658+
%S Living Standard
8659+
%U http://encoding.spec.whatwg.org/
8660+

css-syntax/Overview.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</p>
5555
<h1 class="p-name no-ref" id=title>CSS Syntax Module Level 3</h1>
5656
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
57-
<span class=dt-updated><span class=value-title title=20131224>24 December 2013</span></span></span></h2>
57+
<span class=dt-updated><span class=value-title title=20140103>3 January 2014</span></span></span></h2>
5858
<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>
5959
<dt>Feedback:</dt>
6060
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-syntax%5D%20feedback">www-style@w3.org</a>
@@ -433,7 +433,7 @@ <h3 class="heading settled heading" data-level=3.2 id=input-byte-stream><span cl
433433

434434
<p> The algorithms to <dfn data-dfn-type=dfn data-noexport="" id=get-an-encoding><a href=http://encoding.spec.whatwg.org/#concept-encoding-get>get an encoding</a><a class=self-link href=#get-an-encoding></a></dfn>
435435
and <dfn data-dfn-type=dfn data-noexport="" id=decode><a href=http://encoding.spec.whatwg.org/#decode>decode</a><a class=self-link href=#decode></a></dfn>
436-
are defined in the <a href=http://encoding.spec.whatwg.org/>Encoding Standard</a>.
436+
are defined in <a data-biblio-type=normative data-link-type=biblio href=#encoding title=encoding>[ENCODING]</a>.
437437

438438
<p> First, <dfn data-dfn-type=dfn data-noexport="" id=determine-the-fallback-encoding>determine the fallback encoding<a class=self-link href=#determine-the-fallback-encoding></a></dfn>:
439439

@@ -4485,7 +4485,7 @@ <h3 class="heading settled heading" data-level=8.2 id=charset-rule><span class=s
44854485
<p> Additionally, an <a class=css data-link-type=maybe href=#at-ruledef-charset title=@charset>@charset</a> rule is invalid if it is not at the top-level of a stylesheet,
44864486
or if it is not the very first rule of a stylesheet.
44874487

4488-
<p> <a class=css data-link-type=maybe href=#at-ruledef-charset title=@charset>@charset</a> rules have an <dfn data-dfn-type=dfn data-noexport="" id=encoding>encoding<a class=self-link href=#encoding></a></dfn>,
4488+
<p> <a class=css data-link-type=maybe href=#at-ruledef-charset title=@charset>@charset</a> rules have an <dfn data-dfn-type=dfn data-noexport="" id=at-charset-encoding>encoding<a class=self-link href=#at-charset-encoding></a></dfn>,
44894489
given by the value of the <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>.
44904490

44914491
<p> The <a class=css data-link-type=maybe href=#at-ruledef-charset title=@charset>@charset</a> rule has <strong>no effect on a stylesheet</strong>.
@@ -4716,7 +4716,7 @@ <h3 class="heading settled heading" data-level=10.3 id=changes-css21><span class
47164716
as that would cause the rule itself to not decode properly.
47174717

47184718
<li>
4719-
Refer to the the <a href=http://encoding.spec.whatwg.org/>Encoding Standard</a>
4719+
Refer to <a data-biblio-type=normative data-link-type=biblio href=#encoding title=encoding>[ENCODING]</a>
47204720
rather than the IANA registery for character encodings.
47214721

47224722
</ul>
@@ -4977,7 +4977,7 @@ <h2 class="no-num no-ref heading settled heading" id=references><span class=cont
49774977

49784978
<h3 class="no-num no-ref heading settled heading" id=normative><span class=content>
49794979
Normative References</span><a class=self-link href=#normative></a></h3>
4980-
<div data-fill-with=normative-references><dl><dt id=css21 title=CSS21><a class=self-link href=#css21></a>[CSS21]<dd>Bert Bos; et al. <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dt id=css3cascade title=CSS3CASCADE><a class=self-link href=#css3cascade></a>[CSS3CASCADE]<dd>Håkon Wium Lie; Elika J. Etemad; Tab Atkins Jr.. <a href=http://www.w3.org/TR/2013/WD-css3-cascade-20130103/>CSS Cascading and Inheritance Level 3</a>. 3 January 2013. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2013/WD-css3-cascade-20130103/>http://www.w3.org/TR/2013/WD-css3-cascade-20130103/</a><dt id=rfc2119 title=RFC2119><a class=self-link href=#rfc2119></a>[RFC2119]<dd>S. Bradner. <a href=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dt id=select title=SELECT><a class=self-link href=#select></a>[SELECT]<dd>Tantek Çelik; et al. <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a><dt id=xmlstyle title=XMLSTYLE><a class=self-link href=#xmlstyle></a>[XMLSTYLE]<dd>James Clark. <a href=http://www.w3.org/1999/06/REC-xml-stylesheet-19990629>Associating Style Sheets with XML documents</a>. 29 June 1999. W3C Recommendation. URL: <a href=http://www.w3.org/1999/06/REC-xml-stylesheet-19990629>http://www.w3.org/1999/06/REC-xml-stylesheet-19990629</a></dl></div>
4980+
<div data-fill-with=normative-references><dl><dt id=css21 title=CSS21><a class=self-link href=#css21></a>[CSS21]<dd>Bert Bos; et al. <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dt id=css3cascade title=CSS3CASCADE><a class=self-link href=#css3cascade></a>[CSS3CASCADE]<dd>Håkon Wium Lie; Elika J. Etemad; Tab Atkins Jr.. <a href=http://www.w3.org/TR/2013/WD-css3-cascade-20130103/>CSS Cascading and Inheritance Level 3</a>. 3 January 2013. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2013/WD-css3-cascade-20130103/>http://www.w3.org/TR/2013/WD-css3-cascade-20130103/</a><dt id=encoding title=ENCODING><a class=self-link href=#encoding></a>[ENCODING]<dd>Anne van Kesteren; Joshua Bell. <a href=http://encoding.spec.whatwg.org/>Encoding</a>. Living Standard. URL: <a href=http://encoding.spec.whatwg.org/>http://encoding.spec.whatwg.org/</a><dt id=rfc2119 title=RFC2119><a class=self-link href=#rfc2119></a>[RFC2119]<dd>S. Bradner. <a href=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dt id=select title=SELECT><a class=self-link href=#select></a>[SELECT]<dd>Tantek Çelik; et al. <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a><dt id=xmlstyle title=XMLSTYLE><a class=self-link href=#xmlstyle></a>[XMLSTYLE]<dd>James Clark. <a href=http://www.w3.org/1999/06/REC-xml-stylesheet-19990629>Associating Style Sheets with XML documents</a>. 29 June 1999. W3C Recommendation. URL: <a href=http://www.w3.org/1999/06/REC-xml-stylesheet-19990629>http://www.w3.org/1999/06/REC-xml-stylesheet-19990629</a></dl></div>
49814981

49824982
<h3 class="no-num no-ref heading settled heading" id=informative><span class=content>
49834983
Informative References</span><a class=self-link href=#informative></a></h3>
@@ -5039,7 +5039,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
50395039
<li>determine the fallback encoding, <a href=#determine-the-fallback-encoding title="section 3.2">3.2</a>
50405040
<li>digit, <a href=#digit title="section 4.2">4.2</a>
50415041
<li>&lt;dimension-token&gt;, <a href=#typedef-dimension-token title="section 4">4</a>
5042-
<li>encoding, <a href=#encoding title="section 8.2">8.2</a>
5042+
<li>encoding, <a href=#at-charset-encoding title="section 8.2">8.2</a>
50435043
<li>ending token, <a href=#ending-token title="section 5.4.7">5.4.7</a>
50445044
<li>end of the range, <a href=#unicode-range-end title="section 4">4</a>
50455045
<li>environment encoding, <a href=#environment-encoding0 title="section 3.3">3.3</a>

css-syntax/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ <h3 id="input-byte-stream">
269269

270270
The algorithms to <dfn><a href="http://encoding.spec.whatwg.org/#concept-encoding-get">get an encoding</a></dfn>
271271
and <dfn><a href="http://encoding.spec.whatwg.org/#decode">decode</a></dfn>
272-
are defined in the <a href="http://encoding.spec.whatwg.org/">Encoding Standard</a>.
272+
are defined in [[!ENCODING]].
273273

274274
First, <dfn>determine the fallback encoding</dfn>:
275275

@@ -3011,7 +3011,7 @@ <h3 id='charset-rule'>
30113011
Additionally, an ''@charset'' rule is invalid if it is not at the top-level of a stylesheet,
30123012
or if it is not the very first rule of a stylesheet.
30133013

3014-
''@charset'' rules have an <dfn>encoding</dfn>,
3014+
''@charset'' rules have an <dfn id="at-charset-encoding">encoding</dfn>,
30153015
given by the value of the <<string>>.
30163016

30173017
The ''@charset'' rule has <strong>no effect on a stylesheet</strong>.
@@ -3242,7 +3242,7 @@ <h3 id="changes-css21">
32423242
as that would cause the rule itself to not decode properly.
32433243

32443244
<li>
3245-
Refer to the the <a href="http://encoding.spec.whatwg.org/">Encoding Standard</a>
3245+
Refer to [[!ENCODING]]
32463246
rather than the IANA registery for character encodings.
32473247

32483248
</ul>

0 commit comments

Comments
 (0)