8000 [css2] named anchors · w3c/csswg-drafts@5c81149 · GitHub
Skip to content

Commit 5c81149

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

8 files changed

Lines changed: 37 additions & 37 deletions

File tree

css2/box.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <H1>8 <a name="box-model">Box model</a></H1>
4242
<li class="tocline3"><a href="box.html#border-style-properties" class="tocxref">8.5.3 Border style: <span class="propinst-border-top-style">'border-top-style'</span>, <span class="propinst-border-right-style">'border-right-style'</span>, <span class="propinst-border-bottom-style">'border-bottom-style'</span>, <span class="propinst-border-left-style">'border-left-style'</span>, and <span class="propinst-border-style">'border-style'</span></a>
4343
<li class="tocline3"><a href="box.html#border-shorthand-properties" class="tocxref">8.5.4 Border shorthand properties: <span class="propinst-border-top">'border-top'</span>, <span class="propinst-border-right">'border-right'</span>, <span class="propinst-border-bottom">'border-bottom'</span>, <span class="propinst-border-left">'border-left'</span>, and <span class="propinst-border">'border'</span></a>
4444
</ul>
45-
<li class="tocline2"><a href="box.html#q11" class="tocxref">8.6 The box model for inline elements in bidirection context</a>
45+
<li class="tocline2"><a href="box.html#bidi-box-model" class="tocxref">8.6 The box model for inline elements in bidirection context</a>
4646
</ul>
4747
</div>
4848

@@ -1006,7 +1006,7 @@ <H3>8.5.4 <A name="border-shorthand-properties">Border shorthand properties</a>:
10061006
</div>
10071007

10081008

1009-
<h2><a name="q11">8.6 The box model for inline elements in bidirection context</a></h2>
1009+
<h2>8.6 <a name="bidi-box-model">The box model for inline elements in bidirection context</a></h2>
10101010

10111011
<p>For each line box, UAs must take the inline boxes generated for
10121012
each element and render the margins, borders and padding in visual

css2/box.src

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

33
<html lang="en">
4-
<!-- $Id: box.src,v 1.68 2007-07-10 17:03:50 fantasai Exp $ -->
4+
<!-- $Id: box.src,v 1.69 2007-07-17 02:40:24 fantasai Exp $ -->
55
<HEAD>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<TITLE>Box model</TITLE>
@@ -774,7 +774,7 @@ relevant.
774774
</div>
775775

776776

777-
<h2>The box model for inline elements in bidirection context</h2>
777+
<h2><a name="bidi-box-model">The box model for inline elements in bidirection context</a></h2>
778778

779779
<p>For each line box, UAs must take the inline boxes generated for
780780
each element and render the margins, borders and padding in visual

css2/cascade.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1><a name="q0">6 Assigning property values, Cascading, and Inheritance</a></h1
2828
<div class="subtoc">
2929
<p><strong>Contents</strong>
3030
<ul class="toc">
31-
<li class="tocline2"><a href="cascade.html#q1" class="tocxref">6.1 Specified, computed, and actual values</a>
31+
<li class="tocline2"><a href="cascade.html#value-stages" class="tocxref">6.1 Specified, computed, and actual values</a>
3232
<ul class="toc">
3333
<li class="tocline3"><a href="cascade.html#specified-value" class="tocxref">6.1.1 <span class="index-def" title="specified value"> Specified values</span></a>
3434
<li class="tocline3"><a href="cascade.html#computed-value" class="tocxref">6.1.2 <span class="index-def" title="computed value"> Computed values</span></a>
@@ -45,12 +45,12 @@ <h1><a name="q0">6 Assigning property values, Cascading, and Inheritance</a></h1
4545
<li class="tocline3"><a href="cascade.html#cascading-order" class="tocxref">6.4.1 Cascading order</a>
4646
<li class="tocline3"><a href="cascade.html#important-rules" class="tocxref">6.4.2 !important rules</a>
4747
<li class="tocline3"><a href="cascade.html#specificity" class="tocxref">6.4.3 Calculating a selector's specificity</a>
48-
<li class="tocline3"><a href="cascade.html#q13" class="tocxref">6.4.4 Precedence of non-CSS presentational hints</a>
48+
<li class="tocline3"><a href="cascade.html#preshint" class="tocxref">6.4.4 Precedence of non-CSS presentational hints</a>
4949
</ul>
5050
</ul>
5151
</div>
5252

53-
<h2><a name="q1">6.1 Specified, computed, and actual values</a></h2>
53+
<h2>6.1 <a name="value-stages">Specified, computed, and actual values</a></h2>
5454

5555
<p>Once a user agent has parsed a document and constructed a <a
5656
href="conform.html#doctree">document tree</a>, it must assign, for
@@ -457,7 +457,7 @@ <H3>6.4.3 <a name="specificity">Calculating a selector's specificity</a></H3>
457457
</div>
458458

459459

460-
<H3><a name="q13">6.4.4 Precedence of non-CSS presentational hints</a></H3>
460+
<H3>6.4.4 <a name="preshint">Precedence of non-CSS presentational hints</a></H3>
461461

462462
<P>The UA may choose to honor presentational attributes in an HTML source
463463
document. If so, these attributes are translated to the corresponding

css2/cascade.src

Lines changed: 3 additions & 3 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: cascade.src,v 2.60 2006-06-02 16:18:03 bbos Exp $ -->
3+
<!-- $Id: cascade.src,v 2.61 2007-07-17 02:35:52 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
@@ -9,7 +9,7 @@
99

1010
<h1>Assigning property values, Cascading, and Inheritance</h1>
1111

12-
<h2>Specified, computed, and actual values</h2>
12+
<h2><a name="value-stages">Specified, computed, and actual values</a></h2>
1313

1414
<p>Once a user agent has parsed a document and constructed a <a
1515
href="conform.html#doctree">document tree</a>, it must assign, for
@@ -418,7 +418,7 @@ specificity.
418418
</div>
419419

420420

421-
<H3>Precedence of non-CSS presentational hints</H3>
421+
<H3><a name="preshint">Precedence of non-CSS presentational hints</a></H3>
422422

423423
<P>The UA may choose to honor presentational attributes in an HTML source
424424
document. If so, these attributes are translated to the corresponding

css2/media.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <H1><a name="q0">7 Media types</a></H1>
2727
<div class="subtoc">
2828
<p><strong>Contents</strong>
2929
<ul class="toc">
30-
<li class="tocline2"><a href="media.html#q1" class="tocxref">7.1 Introduction to media types</a>
31-
<li class="tocline2"><a href="media.html#q2" class="tocxref">7.2 Specifying media-dependent style sheets</a>
30+
<li class="tocline2"><a href="media.html#media-intro" class="tocxref">7.1 Introduction to media types</a>
31+
<li class="tocline2"><a href="media.html#media-sheets" class="tocxref">7.2 Specifying media-dependent style sheets</a>
3232
<ul class="toc">
3333
<li class="tocline3"><a href="media.html#at-media-rule" class="tocxref">7.2.1 The @media rule</a>
3434
</ul>
@@ -39,7 +39,7 @@ <H1><a name="q0">7 Media types</a></H1>
3939
</ul>
4040
</div>
4141

42-
<H2><a name="q1">7.1 Introduction to media types</a></H2>
42+
<H2>7.1 <a name="media-intro">Introduction to media types</a></H2>
4343

4444
<P>One of the most important features of style sheets is that they
4545
specify how a document is to be presented on different media: on the
@@ -59,7 +59,7 @@ <H2><a name="q1">7.1 Introduction to media types</a></H2>
5959
Therefore, it is necessary to express that a style sheet, or a
6060
section of a style sheet, applies to certain media types.
6161

62-
<H2><a name="q2">7.2 Specifying media-dependent style sheets</a></H2>
62+
<H2>7.2 <a name="media-sheets">Specifying media-dependent style sheets</a></H2>
6363
<P>There are currently two ways to specify media dependencies for
6464
style sheets:</p>
6565

css2/media.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: media.src,v 2.41 2007-07-04 07:51:41 fantasai Exp $ -->
3+
<!-- $Id: media.src,v 2.42 2007-07-17 02:37:51 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Media types</TITLE>
77
</HEAD>
88
<BODY>
99
<H1>Media types</H1>
1010

11-
<H2>Introduction to media types</H2>
11+
<H2><a name="media-intro">Introduction to media types</a></H2>
1212

1313
<P>One of the most important features of style sheets is that they
1414
specify how a document is to be presented on different media: on the
@@ -28,7 +28,7 @@ typically need a larger font on a computer screen than on paper.
2828
Therefore, it is necessary to express that a style sheet, or a
2929
section of a style sheet, applies to certain media types.
3030

31-
<H2>Specifying media-dependent style sheets</H2>
31+
<H2><a name="media-sheets">Specifying media-dependent style sheets</a></H2>
3232
<P>There are currently two ways to specify media dependencies for
3333
style sheets:</p>
3434

css2/selector.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <h1><a name="q0">5 Selectors</a></h1>
2727
<div class="subtoc">
2828
<p><strong>Contents</strong>
2929
<ul class="toc">
30-
<li class="tocline2"><a href="selector.html#q1" class="tocxref">5.1 Pattern matching</a>
31-
<li class="tocline2"><a href="selector.html#q2" class="tocxref">5.2 Selector syntax</a>
30+
<li class="tocline2"><a href="selector.html#pattern-matching" class="tocxref">5.1 Pattern matching</a>
31+
<li class="tocline2"><a href="selector.html#selector-syntax" class="tocxref">5.2 Selector syntax</a>
3232
<ul class="toc">
3333
<li class="tocline3"><a href="selector.html#grouping" class="tocxref">5.2.1 Grouping</a>
3434
</ul>
@@ -39,20 +39,20 @@ <h1><a name="q0">5 Selectors</a></h1>
3939
<li class="tocline2"><a href="selector.html#adjacent-selectors" class="tocxref">5.7 Adjacent sibling selectors</a>
4040
<li class="tocline2"><a href="selector.html#attribute-selectors" class="tocxref">5.8 Attribute selectors</a>
4141
<ul class="toc">
42-
<li class="tocline3"><a href="selector.html#q10" class="tocxref">5.8.1 Matching attributes and attribute values</a>
43-
<li class="tocline3"><a href="selector.html#q11" class="tocxref">5.8.2 Default attribute values in DTDs</a>
42+
<li class="tocline3"><a href="selector.html#matching-attrs" class="tocxref">5.8.1 Matching attributes and attribute values</a>
43+
<li class="tocline3"><a href="selector.html#default-attrs" class="tocxref">5.8.2 Default attribute values in DTDs</a>
4444
<li class="tocline3"><a href="selector.html#class-html" class="tocxref">5.8.3 Class selectors</a>
4545
</ul>
4646
<li class="tocline2"><a href="selector.html#id-selectors" class="tocxref">5.9 ID selectors</a>
4747
<li class="tocline2"><a href="selector.html#pseudo-elements" class="tocxref">5.10 Pseudo-elements and pseudo-classes</a>
48-
<li class="tocline2"><a href="selector.html#q15" class="tocxref">5.11 Pseudo-classes</a>
48+
<li class="tocline2"><a href="selector.html#pseudo-class-selectors" class="tocxref">5.11 Pseudo-classes</a>
4949
<ul class="toc">
5050
<li class="tocline3"><a href="selector.html#first-child" class="tocxref">5.11.1 :first-child pseudo-class</a>
5151
<li class="tocline3"><a href="selector.html#link-pseudo-classes" class="tocxref">5.11.2 The link pseudo-classes: <span class="index-def" title="pseudo-classes:::link|:link|link (pseudo-class)">:link</span> and <span class="index-def" title="pseudo-classes:::visited|:visited|visited (pseudo-class)">:visited</span></a>
5252
<li class="tocline3"><a href="selector.html#dynamic-pseudo-classes" class="tocxref">5.11.3 The dynamic pseudo-classes: <span class="index-def" title="pseudo-classes:::hover|:hover|hover (pseudo-class)">:hover</span>, <span class="index-def" title="pseudo-classes:::active|:active|active (pseudo-class)">:active</span>, and <span class="index-def" title="pseudo-classes:::focus|:focus|focus (pseudo-class)">:focus</span></a>
5353
<li class="tocline3"><a href="selector.html#lang" class="tocxref">5.11.4 The language pseudo-class: <span class="index-def" title="pseudo-classes:::lang|:lang|lang (pseudo-class)">:lang</span></a>
5454
</ul>
55-
<li class="tocline2"><a href="selector.html#q20" class="tocxref">5.12 Pseudo-elements</a>
55+
<li class="tocline2"><a href="selector.html#pseudo-element-selectors" class="tocxref">5.12 Pseudo-elements</a>
5656
<ul class="toc">
5757
<li class="tocline3"><a href="selector.html#first-line-pseudo" class="tocxref">5.12.1 The <span class="index-def" title="pseudo-elements:::first-line|:first-line|first-line">:first-line</span> pseudo-element</a>
5858
<li class="tocline3"><a href="selector.html#first-letter" class="tocxref">5.12.2 The <span class="index-def" title="pseudo-elements:::first-letter|:first-letter|first-letter">:first-letter</span> pseudo-element</a>
@@ -61,7 +61,7 @@ <h1><a name="q0">5 Selectors</a></h1>
6161
</ul>
6262
</div>
6363

64-
<h2><a name="q1">5.1 Pattern matching</a></h2>
64+
<h2>5.1 <a name="pattern-matching">Pattern matching</a></h2>
6565

6666
<p>In CSS, pattern matching rules determine which style rules apply to
6767
elements in the <a href="conform.html#doctree">document
@@ -132,7 +132,7 @@ <h2><a name="q1">5.1 Pattern matching</a></h2>
132132
</table>
133133

134134

135-
<h2><a name="q2">5.2 Selector syntax</a></h2>
135+
<h2>5.2 <a name="selector-syntax">Selector syntax</a></h2>
136136

137137
<P>A <span class="index-def" title="simple selector"><a
138138
name="simple-selector"><dfn>simple selector</dfn></a></span> is either
@@ -375,7 +375,7 @@ <h2>5.8 <a name="attribute-selectors">Attribute selectors</a></h2>
375375
which have certain attributes defined
376376
in the source document.
377377

378-
<h3><a name="q10">5.8.1 Matching attributes and attribute values</a></h3>
378+
<h3>5.8.1 <a name="matching-attrs">Matching attributes and attribute values</a></h3>
379379

380380
<P>Attribute selectors may match in four ways:</p>
381381

@@ -484,7 +484,7 @@ <h3><a name="q10">5.8.1 Matching attributes and attribute values</a></h3>
484484
</pre>
485485
</div>
486486

487-
<H3><a name="q11">5.8.2 Default attribute values in DTDs</a></H3>
487+
<H3>5.8.2 <a name="default-attrs">Default attribute values in DTDs</a></H3>
488488

489489
<P>Matching takes place on attribute values in the document tree.
490490
Default attribute values may be defined in a <a name="x21"><span class="index-inst"
@@ -770,7 +770,7 @@ <h2>5.10 <a name="pseudo-elements">Pseudo-elements</a> and <a
770770
rules, the normal <a href="cascade.html#cascading-order">cascading
771771
order</A> determines the outcome.
772772

773-
<h2><a name="q15">5.11 Pseudo-classes</a></h2>
773+
<h2>5.11 <a name="pseudo-class-selectors">Pseudo-classes</a></h2>
774774

775775
<h3>5.11.1 <a name="first-child">:first-child</a> pseudo-class</h3>
776776

@@ -1060,7 +1060,7 @@ <h3>5.11.4 <a name="lang">The language pseudo-class:</a> <a name="x41"><span
10601060
&lt;/body></pre>
10611061
</div>
10621062

1063-
<h2><a name="q20">5.12 Pseudo-elements</a></h2>
1063+
<h2>5.12 <a name="pseudo-element-selectors">Pseudo-elements</a></h2>
10641064

10651065
<h3>5.12.1 The <span class="index-def"
10661066
title="pseudo-elements:::first-line|:first-line|first-line"><a

css2/selector.src

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22
<html lang="en">
3-
<!-- $Id: selector.src,v 2.105 2007-06-13 15:07:59 fantasai Exp $ -->
3+
<!-- $Id: selector.src,v 2.106 2007-07-17 02:31:45 fantasai Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
77
</head>
88
<body>
99
<h1>Selectors</h1>
1010

11-
<h2>Pattern matching</h2>
11+
<h2><a name="pattern-matching">Pattern matching</a></h2>
1212

1313
<p>In CSS, pattern matching rules determine which style rules apply to
1414
elements in the <a href="conform.html#doctree">document
@@ -79,7 +79,7 @@ equal to "myid".<TD><a href="#id-selectors">ID selectors</a></TR>
7979
</table>
8080

8181

82-
<h2>Selector syntax</h2>
82+
<h2><a name="selector-syntax">Selector syntax</a></h2>
8383

8484
<P>A <span class="index-def" title="simple selector"><a
8585
name="simple-selector"><dfn>simple selector</dfn></a></span> is either
@@ -322,7 +322,7 @@ h1.opener + h2 { margin-top: -5mm }
322322
which have certain attributes defined
323323
in the source document.
324324

325-
<h3>Matching attributes and attribute values</h3>
325+
<h3><a name="matching-attrs">Matching attributes and attribute values</a></h3>
326326

327327
<P>Attribute selectors may match in four ways:</p>
328328

@@ -431,7 +431,7 @@ DIALOGUE[character=juliet]
431431
</pre>
432432
</div>
433433

434-
<H3>Default attribute values in DTDs</H3>
434+
<H3><a name="default-attrs">Default attribute values in DTDs</a></H3>
435435

436436
<P>Matching takes place on attribute values in the document tree.
437437
Default attribute values may be defined in a <span class="index-inst"
@@ -717,7 +717,7 @@ applied simultaneously to the same element. In case of conflicting
717717
rules, the normal <a href="cascade.html#cascading-order">cascading
718718
order</A> determines the outcome.
719719

720-
<h2>Pseudo-classes</h2>
720+
<h2><a name="pseudo-class-selectors">Pseudo-classes</a></h2>
721721

722722
<h3><a name="first-child">:first-child</a> pseudo-class</h3>
723723

@@ -1009,7 +1009,7 @@ text uses the English quotation marks. </div>
10091009
&lt;/body></pre>
10101010
</div>
10111011

1012-
<h2>Pseudo-elements</h2>
1012+
<h2><a name="pseudo-element-selectors">Pseudo-elements</a></h2>
10131013

10141014
<h3>The <span class="index-def"
10151015
title="pseudo-elements:::first-line|:first-line|first-line"><a

0 commit comments

Comments
 (0)