Skip to content

Commit 2c7b7c1

Browse files
committed
[css2] named header anchors
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402764
1 parent b29924f commit 2c7b7c1

3 files changed

Lines changed: 48 additions & 44 deletions

File tree

css2/about.src

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22

33
<html lang="en">
4-
<!-- $Id: about.src,v 2.73 2006-10-10 18:53:27 bbos Exp $ -->
4+
<!-- $Id: about.src,v 2.74 2007-07-17 02:07:29 fantasai Exp $ -->
55
<HEAD>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<TITLE>About the CSS&nbsp;2.1 Specification</TITLE>
88
</HEAD>
99
<BODY>
1010
<H1>About the CSS&nbsp;2.1 Specification</H1>
1111

12-
<h2>CSS&nbsp;2.1 vs CSS&nbsp;2</h2>
12+
<h2><a name="css2.1-v-css2">CSS&nbsp;2.1 vs CSS&nbsp;2</a></h2>
1313

1414
<p>The CSS community has gained significant experience with the CSS2
1515
specification since it became a recommendation in 1998. Errors in the
@@ -64,7 +64,7 @@ CSS&nbsp;2.1, and then they should only reference CSS2 for those
6464
features, or preferably reference such feature(s) in the respective
6565
CSS3 Module that includes those feature(s)).
6666

67-
<h2>Reading the specification</h2>
67+
<h2><a name="reading">Reading the specification</a></h2>
6868

6969
<p>This section is non-normative.
7070

@@ -91,7 +91,7 @@ numbers will not appear in the electronic version. In case of a
9191
discrepancy, the electronic version is considered the authoritative
9292
version of the document.
9393

94-
<h2>How the specification is organized</h2>
94+
<h2><a name="organization">How the specification is organized</a></h2>
9595

9696
<p>This section is non-normative.
9797

@@ -125,9 +125,9 @@ and two indexes: one for
125125
<a href="indexlist.html">general index</a>.
126126
</dl>
127127

128-
<H2>Conventions</H2>
128+
<H2><a name="conventions">Conventions</a></H2>
129129

130-
<H3><a href="conform.html#doclanguage">Document language</a> elements
130+
<H3><a name="doc-language" href="conform.html#doclanguage">Document language</a> elements
131131
and attributes</H3>
132132

133133
<ul>
@@ -144,7 +144,7 @@ information that resembles the following:</p>
144144

145145
<!-- #include src=properties/property-name.srb -->
146146

147-
<h4>Value</h4>
147+
<h4><a name="value-defs">Value</a></h4>
148148

149149
<P>This part specifies the set of valid values for the property whose
150150
name is <span class="propinst-property-name">'property-name'</span>. Value
@@ -264,7 +264,7 @@ elements are considered to have all properties, but some properties
264264
have no rendering effect on some types of elements. For example, the <span
265265
class="propinst-clear">'clear'</span> property only affects block-level elements.
266266

267-
<h4>Inherited</h4>
267+
<h4><a name="inherited-prop">Inherited</a></h4>
268268

269269
<p>This part indicates whether the value of the property is inherited
270270
from an ancestor element. Please consult the section on <a
@@ -273,19 +273,19 @@ interaction between style sheet-specified, inherited, and initial
273273
values.
274274

275275

276-
<h4>Percentage values</h4>
276+
<h4><a name="percentage-wrt">Percentage values</a></h4>
277277

278278
<p>This part indicates how percentages should be interpreted, if they occur in
279279
the value of the property. If "N/A" appears here, it means that the
280280
property does not accept percentages as values.
281281

282-
<h4>Media groups</h4>
282+
<h4><a name="media-applies">Media groups</a></h4>
283283

284284
<p>This part indicates the <a href="media.html#media-groups">media
285285
groups</a> to which the property applies. Information about media
286286
groups is non-normative.
287287

288-
<h4>Computed value</h4>
288+
<h4><a name="computed-defs">Computed value</a></h4>
289289

290290
<p>This part describes the computed value for the property. See the
291291
section on <a href="cascade.html#computed-value">computed values</a>
@@ -339,7 +339,7 @@ class="propinst-font-style">'font-style'</span>
339339
take their initial values.</p>
340340
</div>
341341

342-
<h3 id="notes-and-examples">Notes and examples</h3>
342+
<h3><a name="notes-and-examples">Notes and examples</a></h3>
343343

344344
<P>All examples that illustrate illegal usage are clearly
345345
marked as "ILLEGAL EXAMPLE".
@@ -354,15 +354,15 @@ conform to the DTDs given in the examples.
354354
the source HTML</a> for the specification and CSS user agents will
355355
render them specially.
356356

357-
<h3>Images and long descriptions</h3>
357+
<h3><a name="images-and-longdesc">Images and long descriptions</a></h3>
358358

359359
<P>Most images in the electronic version of this specification are
360360
accompanied by "long descriptions" of what they represent. A link to
361361
the long description is denoted by a "[D]" after the image.
362362

363363
<P>Images and long descriptions are informative only.
364364

365-
<H2>Acknowledgments</H2>
365+
<H2><a name="acknowledgements">Acknowledgments</a></H2>
366366

367367
<p>This section is non-normative.
368368

css2/changes.html

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
225225
</ul>
226226
<li class="tocline2"><a href="changes.html#clarifications" class="tocxref">C.4 Clarifications</a>
227227
<ul class="toc">
228-
<li class="tocline3"><a href="changes.html#q192" class="tocxref">C.4.1 2.1 A brief CSS&nbsp;2.1 tutorial for HTML</a>
229-
<li class="tocline3"><a href="changes.html#q193" class="tocxref">C.4.2 2.2 A brief CSS&nbsp;2.1 tutorial for XML</a>
230-
<li class="tocline3"><a href="changes.html#q194" class="tocxref">C.4.3 Definitions</a>
228+
<li class="tocline3"><a href="changes.html#q192" class="tocxref">C.4.1 Section 2.1 A brief CSS&nbsp;2.1 tutorial for HTML</a>
229+
<li class="tocline3"><a href="changes.html#q193" class="tocxref">C.4.2 Section 2.2 A brief CSS&nbsp;2.1 tutorial for XML</a>
230+
<li class="tocline3"><a href="changes.html#q194" class="tocxref">C.4.3 Section 3.1 Definitions</a>
231231
<li class="tocline3"><a href="changes.html#q195" class="tocxref">C.4.4 Section 4.1 Syntax</a>
232232
<li class="tocline3"><a href="changes.html#q196" class="tocxref">C.4.5 Section 4.1.1 Tokenization</a>
233233
<li class="tocline3"><a href="changes.html#q197" class="tocxref">C.4.6 Section 4.1.3 Characters and case</a>
@@ -362,44 +362,44 @@ <h3 id="a18.1"><a name="q6">C.1.5 </a><a href="ui.html#propdef-cursor">Section 1
362362

363363
<h2>C.2 <a name="changes">Changes</a></h2>
364364

365-
<h3 id="c1.1"><a name="q8">C.2.1 </a><a href="about.html#q1">Section 1.1 CSS 2.1 vs CSS 2</a></h3>
365+
<h3 id="c1.1"><a name="q8">C.2.1 </a><a href="about.html#css2.1-v-css2">Section 1.1 CSS 2.1 vs CSS 2</a></h3>
366366

367367
<p>This new section is added to explain the motivation for CSS2.1
368368
and its relation to CSS2.</p>
369369

370-
<h3 id="c1.2"><a name="q9">C.2.2 </a><a href="about.html#q2">Section 1.2 Reading the specification</a></h3>
370+
<h3 id="c1.2"><a name="q9">C.2.2 </a><a href="about.html#reading">Section 1.2 Reading the specification</a></h3>
371371

372372
<p>This section (formerly Section 1.1) has been marked non-normative.</p>
373373

374-
<h3 id="c1.3"><a name="q10">C.2.3 </a><a href="about.html#q3">Section 1.3 How the specification is organized</a></h3>
374+
<h3 id="c1.3"><a name="q10">C.2.3 </a><a href="about.html#organization">Section 1.3 How the specification is organized</a></h3>
375375

376376
<p>This section (formerly Section 1.2) has been marked non-normative.</p>
377377

378-
<h3 id="c1.4.2.1"><a name="q11">C.2.4 </a><a href="about.html#q7">Section 1.4.2.1 Value</a></h3>
378+
<h3 id="c1.4.2.1"><a name="q11">C.2.4 </a><a href="about.html#value-defs">Section 1.4.2.1 Value</a></h3>
379379

380380
<p>This section (formerly unnumbered under 1.3.2) notes that value types are specified
381381
in terms of tokens and that spaces may appear between tokens in values. A note
382382
explains that spaces are required between some tokens.</p>
383383

384-
<h3 id="c1.4.2.6"><a name="q12">C.2.5 </a><a href="about.html#q12">Section 1.4.2.6 Media groups</a></h3>
384+
<h3 id="c1.4.2.6"><a name="q12">C.2.5 </a><a href="about.html#media-applies">Section 1.4.2.6 Media groups</a></h3>
385385

386386
<p>This section (formerly unnumbered under 1.3.2) now declares the Media line
387387
in property definitions to be non-normative.</p>
388388

389-
<h3 id="c1.4.2.7"><a name="q13">C.2.6 </a><a href="about.html#q13">Section 1.4.2.7 Computed value</a></h3>
389+
<h3 id="c1.4.2.7"><a name="q13">C.2.6 </a><a href="about.html#computed-defs">Section 1.4.2.7 Computed value</a></h3>
390390

391391
<p>A new line is added to each property definition specifying what the computed
392392
values are for the property. (This defines what level of computation is done to
393393
a property value before inheritance and before certain other calculations.)</p>
394394

395-
<h3 id="c1.4.4"><a name="q14">C.2.7 </a><a href="about.html#q15">Section 1.4.4 Notes and examples</a></h3>
395+
<h3 id="c1.4.4"><a name="q14">C.2.7 </a><a href="about.html#notes-and-examples">Section 1.4.4 Notes and examples</a></h3>
396396

397397
<p>This section (formerly 1.3.4) now specifies that HTML examples lacking DOCTYPE
398398
declarations are SGML Text Entities conforming to the HTML 4.01 Strict DTD [HTML4].
399399
The markup for many examples has been reformulated to either include a DOCTYPE or
400400
conform to this definition.</p>
401401

402-
<h3 id="c1.5"><a name="q15">C.2.8 </a><a href="about.html#q17">Section 1.5 Acknowledgements</a></h3>
402+
<h3 id="c1.5"><a name="q15">C.2.8 </a><a href="about.html#acknowledgements">Section 1.5 Acknowledgements</a></h3>
403403

404404
<p>This section (formerly 1.4) has been updated to reflect contributions to CSS2.1
405405
and has been marked non-normative.<p>
@@ -416,7 +416,7 @@ <h3 id="c3.2"><a name="q16">C.2.9 </a><a href="conform.html#conformance">Section
416416
Authors are recommended to treat form control styling capabilities in UAs
417417
as experimental.</p>
418418

419-
<h3 id="c3.3"><a name="q17">C.2.10 </a><a href="conform.html#q3">Section 3.3
419+
<h3 id="c3.3"><a name="q17">C.2.10 </a><a href="conform.html#errors">Section 3.3
420420
Error Conditions</a></h3>
421421

422422
<p>This section changed to say that error handling <em>is</em> specified
@@ -2099,15 +2099,16 @@ <h3 id="underscore2"><a name="q190">C.3.51 </a><a href="grammar.html#q2">Appendi
20992099

21002100
<h2>C.4 <a name="clarifications">Clarifications</a></h2>
21012101

2102-
<h3 id="r2.1"><a name="q192">C.4.1 </a><a href="intro.html#q1">2.1 A brief CSS&nbsp;2.1 tutorial for HTML</a></h3>
2102+
<h3 id="r2.1"><a name="q192">C.4.1 </a><a href="intro.html#html-tutorial">Section 2.1
2103+
A brief CSS&nbsp;2.1 tutorial for HTML</a></h3>
21032104

21042105
<p>This section has been marked non-normative.</p>
21052106

21062107
<p>
21072108

21082109
<h3 id="r2.2"><a name="q193">C.4.2 </a><a
2109-
href="intro.html#q2">2.2 A brief CSS&nbsp;2.1
2110-
tutorial for XML</a></h3>
2110+
href="intro.html#xml-tutorial">Section 2.2
2111+
A brief CSS&nbsp;2.1 tutorial for XML</a></h3>
21112112

21122113
<p>This section has been marked non-normative.</p>
21132114

@@ -2122,7 +2123,8 @@ <h3 id="r2.2"><a name="q193">C.4.2 </a><a
21222123

21232124
<pre>&lt;?xml-stylesheet type="text/css" href="bach.css"?&gt;</pre>
21242125

2125-
<h3 id="r3.1"><a name="q194">C.4.3 </a><a href="conform.html#defs">Definitions</a></h3>
2126+
<h3 id="r3.1"><a name="q194">C.4.3 </a><a href="conform.html#defs">Section 3.1
2127+
Definitions</a></h3>
21262128

21272129
<p>Added a note to clarify that the deprecated/non-deprecated status
21282130
of a feature is distinct from its normative/non-normative status.</p>

css2/changes.src

Lines changed: 16 additions & 14 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.76 2007-07-16 23:47:44 fantasai Exp $ -->
3+
<!-- $Id: changes.src,v 2.77 2007-07-17 02:07:29 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Changes</TITLE>
@@ -49,44 +49,44 @@ the 'cursor' property</a></h3>
4949

5050
<h2><a name="changes">Changes</a></h2>
5151

52-
<h3 id="c1.1"><a href="about.html#q1">Section 1.1 CSS 2.1 vs CSS 2</a></h3>
52+
<h3 id="c1.1"><a href="about.html#css2.1-v-css2">Section 1.1 CSS 2.1 vs CSS 2</a></h3>
5353

5454
<p>This new section is added to explain the motivation for CSS2.1
5555
and its relation to CSS2.</p>
5656

57-
<h3 id="c1.2"><a href="about.html#q2">Section 1.2 Reading the specification</a></h3>
57+
<h3 id="c1.2"><a href="about.html#reading">Section 1.2 Reading the specification</a></h3>
5858

5959
<p>This section (formerly Section 1.1) has been marked non-normative.</p>
6060

61-
<h3 id="c1.3"><a href="about.html#q3">Section 1.3 How the specification is organized</a></h3>
61+
<h3 id="c1.3"><a href="about.html#organization">Section 1.3 How the specification is organized</a></h3>
6262

6363
<p>This section (formerly Section 1.2) has been marked non-normative.</p>
6464

65-
<h3 id="c1.4.2.1"><a href="about.html#q7">Section 1.4.2.1 Value</a></h3>
65+
<h3 id="c1.4.2.1"><a href="about.html#value-defs">Section 1.4.2.1 Value</a></h3>
6666

6767
<p>This section (formerly unnumbered under 1.3.2) notes that value types are specified
6868
in terms of tokens and that spaces may appear between tokens in values. A note
6969
explains that spaces are required between some tokens.</p>
7070

71-
<h3 id="c1.4.2.6"><a href="about.html#q12">Section 1.4.2.6 Media groups</a></h3>
71+
<h3 id="c1.4.2.6"><a href="about.html#media-applies">Section 1.4.2.6 Media groups</a></h3>
7272

7373
<p>This section (formerly unnumbered under 1.3.2) now declares the Media line
7474
in property definitions to be non-normative.</p>
7575

76-
<h3 id="c1.4.2.7"><a href="about.html#q13">Section 1.4.2.7 Computed value</a></h3>
76+
<h3 id="c1.4.2.7"><a href="about.html#computed-defs">Section 1.4.2.7 Computed value</a></h3>
7777

7878
<p>A new line is added to each property definition specifying what the computed
7979
values are for the property. (This defines what level of computation is done to
8080
a property value before inheritance and before certain other calculations.)</p>
8181

82-
<h3 id="c1.4.4"><a href="about.html#q15">Section 1.4.4 Notes and examples</a></h3>
82+
<h3 id="c1.4.4"><a href="about.html#notes-and-examples">Section 1.4.4 Notes and examples</a></h3>
8383

8484
<p>This section (formerly 1.3.4) now specifies that HTML examples lacking DOCTYPE
8585
declarations are SGML Text Entities conforming to the HTML 4.01 Strict DTD [HTML4].
8686
The markup for many examples has been reformulated to either include a DOCTYPE or
8787
conform to this definition.</p>
8888

89-
<h3 id="c1.5"><a href="about.html#q17">Section 1.5 Acknowledgements</a></h3>
89+
<h3 id="c1.5"><a href="about.html#acknowledgements">Section 1.5 Acknowledgements</a></h3>
9090

9191
<p>This section (formerly 1.4) has been updated to reflect contributions to CSS2.1
9292
and has been marked non-normative.<p>
@@ -103,7 +103,7 @@ rather than just recommended.
103103
Authors are recommended to treat form control styling capabilities in UAs
104104
as experimental.</p>
105105

106-
<h3 id="c3.3"><a href="conform.html#q3">Section 3.3
106+
<h3 id="c3.3"><a href="conform.html#errors">Section 3.3
107107
Error Conditions</a></h3>
108108

109109
<p>This section changed to say that error handling <em>is</em> specified
@@ -1786,15 +1786,16 @@ matched as well.
17861786

17871787
<h2><a name="clarifications">Clarifications</a></h2>
17881788

1789-
<h3 id="r2.1"><a href="intro.html#q1">2.1 A brief CSS&nbsp;2.1 tutorial for HTML</a></h3>
1789+
<h3 id="r2.1"><a href="intro.html#html-tutorial">Section 2.1
1790+
A brief CSS&nbsp;2.1 tutorial for HTML</a></h3>
17901791

17911792
<p>This section has been marked non-normative.</p>
17921793

17931794
<p>
17941795

17951796
<h3 id="r2.2"><a
1796-
href="intro.html#q2">2.2 A brief CSS&nbsp;2.1
1797-
tutorial for XML</a></h3>
1797+
href="intro.html#xml-tutorial">Section 2.2
1798+
A brief CSS&nbsp;2.1 tutorial for XML</a></h3>
17981799

17991800
<p>This section has been marked non-normative.</p>
18001801

@@ -1809,7 +1810,8 @@ href="bach.css"?&gt;</code>, but
18091810

18101811
<pre>&lt;?xml-stylesheet type="text/css" href="bach.css"?&gt;</pre>
18111812

1812-
<h3 id="r3.1"><a href="conform.html#defs">Definitions</a></h3>
1813+
<h3 id="r3.1"><a href="conform.html#defs">Section 3.1
1814+
Definitions</a></h3>
18131815

18141816
<p>Added a note to clarify that the deprecated/non-deprecated status
18151817
of a feature is distinct from its normative/non-normative status.</p>

0 commit comments

Comments
 (0)