Skip to content

Commit facf6f9

Browse files
committed
[css2] add named anchors
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402761
1 parent 9ccc6df commit facf6f9

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

css2/changes.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ <h3 id="c4.1.1"><a name="q18">C.2.11 </a><a href="syndata.html#tokenization">4.1
442442
through excluding disallowed characters. This allows invisible ASCII
443443
characters to be included in a string.</p>
444444

445-
<h3 id="c4.1.3"><a name="q19">C.2.12 </a><a href="syndata.html#q6">4.1.3
445+
<h3 id="c4.1.3"><a name="q19">C.2.12 </a><a href="syndata.html#characters">4.1.3
446446
Characters and case</a></h3>
447447

448448
<p>Updated prose about identifiers (second bullet point) to match changes
@@ -495,7 +495,7 @@ <h3 id="c4.3.8"><a name="q25">C.2.18 </a><a href="syndata.html#unsupported-value
495495
<h3 id="c4.4"><a name="q26">C.2.19 </a><a href="syndata.html#q23">Section 4.4
496496
CSS style sheet representation</a></h3>
497497

498-
<p>Changed character encoding dection rule 2 to include a BOM and
498+
<p>Changed character encoding detection rule 2 to include a BOM and
499499
referred to additional rules below.</p>
500500

501501
<p>Added rule 4 to provide for use of the referring style sheet
@@ -1663,7 +1663,7 @@ <h3 id="x4.1.1"><a name="q142">C.3.3 </a><a href="syndata.html#tokenization">Sec
16631663
<p>In the rule for "any" (in the core syntax), corrected "FUNCTION"
16641664
to "FUNCTION any* ')'".</p>
16651665

1666-
<h3 id="x4.1.3"><a name="q143">C.3.4 </a><a href="syndata.html#q6">Section 4.1.3
1666+
<h3 id="x4.1.3"><a name="q143">C.3.4 </a><a href="syndata.html#characters">Section 4.1.3
16671667
Characters and case</a></h3>
16681668

16691669
<p>Corrected third paragraph to say that an '@import' rule can only be
@@ -2161,14 +2161,14 @@ <h3 id="r4.1.1"><a name="q196">C.4.5 </a><a href="syndata.html#tokenization">Sec
21612161
<p>Clarified that input that cannot be tokenized or parsed has no meaning in
21622162
CSS2.1.</p>
21632163

2164-
<h3 id="r4.1.3"><a name="q197">C.4.6 </a><a href="syndata.html#q6">Section 4.1.3
2164+
<h3 id="r4.1.3"><a name="q197">C.4.6 </a><a href="syndata.html#characters">Section 4.1.3
21652165
Characters and case</a></h3>
21662166

21672167
<p>Clarified that when a CRLF pair terminates an escape sequence, the pair
21682168
is treated as a single whitespace character as <a href="#x4.1.1">corrected</a>
21692169
in the tokenization rules.</p>
21702170

2171-
<h3 id ="r4.1.7"><a name="q198">C.4.7 </a><a href="syndata.html#q10">Section 4.1.7
2171+
<h3 id ="r4.1.7"><a name="q198">C.4.7 </a><a href="syndata.html#declaration">Section 4.1.7
21722172
Rule sets, declaration blocks, and selectors</a></h3>
21732173

21742174
<p>Replaced the term "{}-block" with "declaration block".</p>
@@ -2186,7 +2186,7 @@ <h3 id="r4.2"><a name="q199">C.4.8 </a><a href="syndata.html#parsing-errors">Sec
21862186
<p>Referenced section 4.1.7 for parsing invalid bits inside declaration
21872187
blocks.</p>
21882188

2189-
<h3 id="r4.3.1"><a name="q200">C.4.9 </a><a href="syndata.html#q15">Section 4.3.1
2189+
<h3 id="r4.3.1"><a name="q200">C.4.9 </a><a href="syndata.html#numbers">Section 4.3.1
21902190
Integers and real numbers</a></h3>
21912191

21922192
<p>Clarified that '-0' is equivalent to '0' and is not a negative number.</p>

css2/changes.src

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: changes.src,v 2.75 2007-07-16 23:36:37 fantasai Exp $ -->
3+
<!-- $Id: changes.src,v 2.76 2007-07-16 23:47:44 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Changes</TITLE>
@@ -129,7 +129,7 @@ conflict with unicode escapes).</p>
129129
through excluding disallowed characters. This allows invisible ASCII
130130
characters to be included in a string.</p>
131131

132-
<h3 id="c4.1.3"><a href="syndata.html#q6">4.1.3
132+
<h3 id="c4.1.3"><a href="syndata.html#characters">4.1.3
133133
Characters and case</a></h3>
134134

135135
<p>Updated prose about identifiers (second bullet point) to match changes
@@ -182,7 +182,7 @@ be ignored as if they were invalid.</p>
182182
<h3 id="c4.4"><a href="syndata.html#q23">Section 4.4
183183
CSS style sheet representation</a></h3>
184184

185-
<p>Changed character encoding dection rule 2 to include a BOM and
185+
<p>Changed character encoding detection rule 2 to include a BOM and
186186
referred to additional rules below.</p>
187187

188188
<p>Added rule 4 to provide for use of the referring style sheet
@@ -1350,7 +1350,7 @@ anyway, it was redundant.</p>
13501350
<p>In the rule for "any" (in the core syntax), corrected "FUNCTION"
13511351
to "FUNCTION any* ')'".</p>
13521352

1353-
<h3 id="x4.1.3"><a href="syndata.html#q6">Section 4.1.3
1353+
<h3 id="x4.1.3"><a href="syndata.html#characters">Section 4.1.3
13541354
Characters and case</a></h3>
13551355

13561356
<p>Corrected third paragraph to say that an '@import' rule can only be
@@ -1848,14 +1848,14 @@ is ignored according to the rules for handling parsing errors.</p>
18481848
<p>Clarified that input that cannot be tokenized or parsed has no meaning in
18491849
CSS2.1.</p>
18501850

1851-
<h3 id="r4.1.3"><a href="syndata.html#q6">Section 4.1.3
1851+
<h3 id="r4.1.3"><a href="syndata.html#characters">Section 4.1.3
18521852
Characters and case</a></h3>
18531853

18541854
<p>Clarified that when a CRLF pair terminates an escape sequence, the pair
18551855
is treated as a single whitespace character as <a href="#x4.1.1">corrected</a>
18561856
in the tokenization rules.</p>
18571857

1858-
<h3 id ="r4.1.7"><a href="syndata.html#q10">Section 4.1.7
1858+
<h3 id ="r4.1.7"><a href="syndata.html#declaration">Section 4.1.7
18591859
Rule sets, declaration blocks, and selectors</a></h3>
18601860

18611861
<p>Replaced the term "{}-block" with "declaration block".</p>
@@ -1873,7 +1873,7 @@ invalid, this does not make the entire at-rule invalid.</p>
18731873
<p>Referenced section 4.1.7 for parsing invalid bits inside declaration
18741874
blocks.</p>
18751875

1876-
<h3 id="r4.3.1"><a href="syndata.html#q15">Section 4.3.1
1876+
<h3 id="r4.3.1"><a href="syndata.html#numbers">Section 4.3.1
18771877
Integers and real numbers</a></h3>
18781878

18791879
<p>Clarified that '-0' is equivalent to '0' and is not a negative number.</p>

css2/syndata.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ <h1><a name="q0">4 Syntax and basic data types</a></h1>
5151
<li class="tocline4"><a href="syndata.html#vendor-keywords" class="tocxref">4.1.2.1 Vendor-specific extensions</a>
5252
<li class="tocline4"><a href="syndata.html#vendor-keyword-history" class="tocxref">4.1.2.2 Informative Historical Notes</a>
5353
</ul>
54-
<li class="tocline3"><a href="syndata.html#q6" class="tocxref">4.1.3 Characters and case</a>
55-
<li class="tocline3"><a href="syndata.html#q7" class="tocxref">4.1.4 Statements</a>
54+
<li class="tocline3"><a href="syndata.html#characters" class="tocxref">4.1.3 Characters and case</a>
55+
<li class="tocline3"><a href="syndata.html#statements" class="tocxref">4.1.4 Statements</a>
5656
<li class="tocline3"><a href="syndata.html#at-rules" class="tocxref">4.1.5 <span class="index-def" title="at-rule"> At-rules</span></a>
5757
<li class="tocline3"><a href="syndata.html#block" class="tocxref">4.1.6 Blocks</a>
5858
<li class="tocline3"><a href="syndata.html#rule-sets" class="tocxref">4.1.7 Rule sets, declaration blocks, and selectors</a>
@@ -62,7 +62,7 @@ <h1><a name="q0">4 Syntax and basic data types</a></h1>
6262
<li class="tocline2"><a href="syndata.html#parsing-errors" class="tocxref">4.2 Rules for handling parsing errors</a>
6363
<li class="tocline2"><a href="syndata.html#values" class="tocxref">4.3 Values</a>
6464
<ul class="toc">
65-
<li class="tocline3"><a href="syndata.html#q15" class="tocxref">4.3.1 Integers and real numbers</a>
65+
<li class="tocline3"><a href="syndata.html#numbers" class="tocxref">4.3.1 Integers and real numbers</a>
6666
<li class="tocline3"><a href="syndata.html#length-units" class="tocxref">4.3.2 Lengths</a>
6767
<li class="tocline3"><a href="syndata.html#percentage-units" class="tocxref">4.3.3 Percentages</a>
6868
<li class="tocline3"><a href="syndata.html#uri" class="tocxref">4.3.4 URLs and URIs</a>
@@ -71,9 +71,9 @@ <h1><a name="q0">4 Syntax and basic data types</a></h1>
7171
<li class="tocline3"><a href="syndata.html#strings" class="tocxref">4.3.7 Strings</a>
7272
<li class="tocline3"><a href="syndata.html#unsupported-values" class="tocxref">4.3.8 Unsupported Values</a>
7373
</ul>
74-
<li class="tocline2"><a href="syndata.html#q23" class="tocxref">4.4 CSS style sheet representation</a>
74+
<li class="tocline2"><a href="syndata.html#charset" class="tocxref">4.4 CSS style sheet representation</a>
7575
<ul class="toc">
76-
<li class="tocline3"><a href="syndata.html#q24" class="tocxref">4.4.1 Referring to characters not represented in a character encoding</a>
76+
<li class="tocline3"><a href="syndata.html#escaping" class="tocxref">4.4.1 Referring to characters not represented in a character encoding</a>
7777
</ul>
7878
</ul>
7979
</div>
@@ -278,7 +278,7 @@ <h4>4.1.2.2 <a name="vendor-keyword-history">Informative Historical Notes</a></h
278278
</tbody>
279279
</table>
280280

281-
<h3><a name="q6">4.1.3 Characters and case</a></h3>
281+
<h3>4.1.3 <a name="characters">Characters and case</a></h3>
282282
<p> The following rules always hold:</p>
283283

284284
<ul>
@@ -364,7 +364,7 @@ <h3><a name="q6">4.1.3 Characters and case</a></h3>
364364
</ul>
365365

366366

367-
<h3><a name="q7">4.1.4 Statements</a></h3>
367+
<h3>4.1.4 <a name="statements">Statements</a></h3>
368368

369369
<p> A CSS style sheet, for any level of CSS, consists of a list of
370370
<a name="x5"><span class="index-inst" title="statements"><em>statements</em></span></a>
@@ -795,7 +795,7 @@ <h2>4.2 <a name="parsing-errors">Rules for handling parsing
795795

796796
<h2>4.3 <a name="values">Values</a></h2>
797797

798-
<h3><a name="q15">4.3.1 Integers and real numbers</a></h3>
798+
<h3>4.3.1 <a name="numbers">Integers and real numbers</a></h3>
799799

800800
<p>Some value types may have integer values (denoted by <span
801801
class="index-def" title="&lt;integer&gt;::definition of"><a
@@ -1322,7 +1322,7 @@ <h3>4.3.8 <a name="unsupported-values">Unsupported Values</a></h3>
13221322
</p>
13231323

13241324

1325-
<h2><a name="q23">4.4 CSS style sheet representation</a></h2>
1325+
<h2>4.4 <a name="charset">CSS style sheet representation</a></h2>
13261326

13271327
<p>A CSS style sheet is a sequence of characters from the Universal
13281328
Character Set (see <a href="refs.html#ref-ISO10646" rel="biblioentry" class="noxref"><span class="normref">[ISO10646]</span></a>). For transmission and
@@ -1456,7 +1456,7 @@ <h2><a name="q23">4.4 CSS style sheet representation</a></h2>
14561456

14571457
<p>User agents must ignore style sheets in unknown encodings.</p>
14581458

1459-
<h3><a name="q24">4.4.1 Referring to characters not represented in a character encoding</a></h3>
1459+
<h3>4.4.1 <a name="escaping">Referring to characters not represented in a character encoding</a></h3>
14601460

14611461
<p>A style sheet may have to refer to characters that cannot be
14621462
represented in the current character encoding. These characters must

css2/syndata.src

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: syndata.src,v 2.149 2007-07-16 21:58:40 fantasai Exp $ -->
3+
<!-- $Id: syndata.src,v 2.150 2007-07-16 23:47:44 fantasai Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Syntax and basic data types</title>
@@ -226,7 +226,7 @@ href="#parsing-errors">rules for handling parsing errors</a>. However, because t
226226
</tbody>
227227
</table>
228228

229-
<h3>Characters and case</h3>
229+
<h3><a name="characters">Characters and case</a></h3>
230230
<p> The following rules always hold:</p>
231231

232232
<ul>
@@ -312,7 +312,7 @@ href="#parsing-errors">rules for handling parsing errors</a>. However, because t
312312
</ul>
313313

314314

315-
<h3>Statements</h3>
315+
<h3><a name="statements">Statements</a></h3>
316316

317317
<p> A CSS style sheet, for any level of CSS, consists of a list of
318318
<span class="index-inst" title="statements"><em>statements</em></span>
@@ -747,7 +747,7 @@ undefined in CSS&nbsp;2.1
747747

748748
<h2><a name="values">Values</a></h2>
749749

750-
<h3>Integers and real numbers</h3>
750+
<h3><a name="numbers">Integers and real numbers</a></h3>
751751

752752
<p>Some value types may have integer values (denoted by <span
753753
class="index-def" title="&lt;integer&gt;::definition of"><a
@@ -1273,7 +1273,7 @@ display declaration.
12731273
</p>
12741274

12751275

1276-
<h2>CSS style sheet representation</h2>
1276+
<h2><a name="charset">CSS style sheet representation</a></h2>
12771277

12781278
<p>A CSS style sheet is a sequence of characters from the Universal
12791279
Character Set (see [[ISO10646]]). For transmission and
@@ -1407,7 +1407,7 @@ This ensures that:
14071407

14081408
<p>User agents must ignore style sheets in unknown encodings.</p>
14091409

1410-
<h3>Referring to characters not represented in a character encoding</h3>
1410+
<h3><a name="escaping">Referring to characters not represented in a character encoding</a></h3>
14111411

14121412
<p>A style sheet may have to refer to characters that cannot be
14131413
represented in the current character encoding. These characters must

0 commit comments

Comments
 (0)