Skip to content

Commit 487f543

Browse files
committed
[css2] named anchors
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402776
1 parent b60f013 commit 487f543

7 files changed

Lines changed: 295 additions & 323 deletions

File tree

css2/changes.html

Lines changed: 179 additions & 193 deletions
Large diffs are not rendered by default.

css2/changes.src

Lines changed: 4 additions & 17 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.79 2007-07-17 03:34:41 fantasai Exp $ -->
3+
<!-- $Id: changes.src,v 2.80 2007-07-17 03:49:06 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Changes</TITLE>
@@ -1334,7 +1334,7 @@ did not enforce this rule: 'border-top', 'border-right',
13341334
accurate by excluding or including table display types where appropriate.</p>
13351335

13361336
<h3 id="x4.1.1"><a href="syndata.html#tokenization">Section 4.1.1</a> (and
1337-
<a href="grammar.html#q2">G2</a>)</h3>
1337+
<a href="grammar.html#grammar">G2</a>)</h3>
13381338

13391339
<p>DELIM should not have included single or double quote. Refer also
13401340
to section 4.1.6 on strings, which must have matching single or
@@ -1771,19 +1771,6 @@ The separated borders model</a></h3>
17711771
<p>For the 'ButtonHighlight' value, changed the description
17721772
from "Dark shadow" to "Highlight color".</p>
17731773

1774-
1775-
<h3 id="underscore2"><a href="grammar.html#q2">Appendix D.2 Lexical
1776-
scanner</a></h3>
1777-
1778-
<p>The underscore character
1779-
("_") is be allowed in identifiers. The definitions of the lexical
1780-
macros "nmstart" and "nmchar" have been fixed.
1781-
1782-
<p>Note that the tokenizer is case-insensitive, so uppercase A-Z is
1783-
matched as well.
1784-
1785-
<p>(Same change in section 4.1.1, see <a href="#underscore">above</a>.)
1786-
17871774
<h2><a name="clarifications">Clarifications</a></h2>
17881775

17891776
<h3 id="r2.1"><a href="intro.html#html-tutorial">Section 2.1
@@ -2679,7 +2666,7 @@ were made:</p>
26792666
-}
26802667
</pre>
26812668

2682-
<h3 id="dG.1"><a name="grammar.html#q1">Section G.1
2669+
<h3 id="dG.1"><a name="grammar.html#grammar">Section G.1
26832670
Grammar</a></h3>
26842671

26852672
<pre>
@@ -2783,7 +2770,7 @@ Grammar</a></h3>
27832770
: FUNCTION S* expr ')' S*
27842771
</pre>
27852772

2786-
<h3 id="dG.2"><a href="grammar.html#q2">Section G.2
2773+
<h3 id="dG.2"><a href="grammar.html#scanner">Section G.2
27872774
Lexical scanner</a></h3>
27882775

27892776
<pre>

css2/cover.html

Lines changed: 95 additions & 96 deletions
Large diffs are not rendered by default.

css2/grammar.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <H1><a name="q0">Appendix G. Grammar of CSS&nbsp;2.1</a></H1>
2727
<div class="subtoc">
2828
<p><strong>Contents</strong>
2929
<ul class="toc">
30-
<li class="tocline2"><a href="grammar.html#q1" class="tocxref">G.1 Grammar</a>
31-
<li class="tocline2"><a href="grammar.html#q2" class="tocxref">G.2 Lexical scanner</a>
30+
<li class="tocline2"><a href="grammar.html#grammar" class="tocxref">G.1 Grammar</a>
31+
<li class="tocline2"><a href="grammar.html#scanner" class="tocxref">G.2 Lexical scanner</a>
3232
<li class="tocline2"><a href="grammar.html#tokenizer-diffs" class="tocxref">G.3 Comparison of tokenization in CSS&nbsp;2.1 and CSS1</a>
3333
</ul>
3434
</div>
@@ -44,7 +44,7 @@ <H1><a name="q0">Appendix G. Grammar of CSS&nbsp;2.1</a></H1>
4444
not in CSS, e.g., HTML imposes restrictions on the possible values of
4545
the "class" attribute.
4646

47-
<h2><a name="q1">G.1 Grammar</a></h2>
47+
<h2>G.1 <a name="grammar">Grammar</a></h2>
4848

4949
<P> The grammar below is <a name="x0"><span class="index-inst"
5050
title="LALR(1)">LALR(1)</span></a> (but note that most UA's should not use it
@@ -154,7 +154,7 @@ <h2><a name="q1">G.1 Grammar</a></h2>
154154
;
155155
</pre>
156156

157-
<h2><a name="q2">G.2 Lexical scanner</a></h2>
157+
<h2>G.2 <a name="scanner">Lexical scanner</a></h2>
158158

159159
<p> The following is the <a name="x3"><span class="index-def"
160160
title="tokenizer">tokenizer</span></a>, written in Flex (see <a href="refs.html#ref-FLEX" rel="biblioentry" class="noxref"><span class="normref">[FLEX]</span></a>)

css2/grammar.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: grammar.src,v 2.48 2007-01-17 23:12:22 bbos Exp $ -->
3+
<!-- $Id: grammar.src,v 2.49 2007-07-17 03:49:06 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Grammar of CSS&nbsp;2.1</TITLE>
@@ -19,7 +19,7 @@ effect, since the document language may impose restrictions that are
1919
not in CSS, e.g., HTML imposes restrictions on the possible values of
2020
the "class" attribute.
2121

22-
<h2>Grammar</h2>
22+
<h2><a name="grammar">Grammar</a></h2>
2323

2424
<P> The grammar below is <span class="index-inst"
2525
title="LALR(1)">LALR(1)</span> (but note that most UA's should not use it
@@ -129,7 +129,7 @@ hexcolor
129129
;
130130
</pre>
131131

132-
<h2>Lexical scanner</h2>
132+
<h2><a name="scanner">Lexical scanner</a></h2>
133133

134134
<p> The following is the <span class="index-def"
135135
title="tokenizer">tokenizer</span>, written in Flex (see [[FLEX]])

css2/zindex.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ <H1><a name="q0">Appendix E. Elaborate description of Stacking Contexts</a></H1>
2727
<div class="subtoc">
2828
<p><strong>Contents</strong>
2929
<ul class="toc">
30-
<li class="tocline2"><a href="zindex.html#q1" class="tocxref">E.1 Definitions</a>
31-
<li class="tocline2"><a href="zindex.html#q2" class="tocxref">E.2 Painting order</a>
32-
<li class="tocline2"><a href="zindex.html#q3" class="tocxref">E.3 Notes</a>
30+
<li class="tocline2"><a href="zindex.html#stacking-defs" class="tocxref">E.1 Definitions</a>
31+
<li class="tocline2"><a href="zindex.html#painting-order" class="tocxref">E.2 Painting order</a>
32+
<li class="tocline2"><a href="zindex.html#stacking-notes" class="tocxref">E.3 Notes</a>
3333
</ul>
3434
</div>
3535

3636
<p>This chapter defines the CSS&nbsp;2.1 painting order in more detail than
3737
described in the rest of the specification.</p>
3838

39-
<h2><a name="q1">E.1 Definitions</a></h2>
39+
<h2>E.1 <a name="stacking-defs">Definitions</a></h2>
4040

4141
<dl>
4242

@@ -58,7 +58,7 @@ <h2><a name="q1">E.1 Definitions</a></h2>
5858

5959
</dl>
6060

61-
<h2><a name="q2">E.2 Painting order</a></h2>
61+
<h2>E.2 <a name="painting-order">Painting order</a></h2>
6262

6363
<p>The bottom of the stack is the furthest from the user, the top of the
6464
stack is the nearest to the user:</p>
@@ -221,7 +221,7 @@ <h2><a name="q2">E.2 Painting order</a></h2>
221221
is recommended to draw outlines in this step and not in the steps above.)
222222
</ol>
223223

224-
<h2><a name="q3">E.3 Notes</a></h2>
224+
<h2>E.3 <a name="stacking-notes">Notes</a></h2>
225225

226226
<p>The background of the root element is only painted once, over the
227227
whole canvas.</p>

css2/zindex.src

Lines changed: 4 additions & 4 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: zindex.src,v 2.14 2006-10-10 19:06:06 ihickson Exp $ -->
3+
<!-- $Id: zindex.src,v 2.15 2007-07-17 03:49:06 fantasai Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Elaborate description of Stacking Contexts</TITLE>
@@ -11,7 +11,7 @@
1111
<p>This chapter defines the CSS&nbsp;2.1 painting order in more detail than
1212
described in the rest of the specification.</p>
1313

14-
<h2>Definitions</h2>
14+
<h2><a name="stacking-defs">Definitions</a></h2>
1515

1616
<dl>
1717

@@ -33,7 +33,7 @@ forth.</dd>
3333

3434
</dl>
3535

36-
<h2>Painting order</h2>
36+
<h2><a name="painting-order">Painting order</a></h2>
3737

3838
<p>The bottom of the stack is the furthest from the user, the top of the
3939
stack is the nearest to the user:</p>
@@ -196,7 +196,7 @@ the 'z-index' property) is:</p>
196196
is recommended to draw outlines in this step and not in the steps above.)
197197
</ol>
198198

199-
<h2>Notes</h2>
199+
<h2><a name="stacking-notes">Notes</a></h2>
200200

201201
<p>The background of the root element is only painted once, over the
202202
whole canvas.</p>

0 commit comments

Comments
 (0)