Skip to content

Commit 395e3a7

Browse files
committed
[css2] Added <a name> tags to a number of definitions, to avoid that they get
name=x?? attributes. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402530
1 parent 0af92e7 commit 395e3a7

1 file changed

Lines changed: 50 additions & 35 deletions

File tree

css2/conform.src

Lines changed: 50 additions & 35 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: conform.src,v 2.73 2006-06-06 15:30:32 howcome Exp $ -->
3+
<!-- $Id: conform.src,v 2.74 2006-09-16 20:53:04 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -61,8 +61,8 @@ renderings, unless explicitly stated.
6161

6262

6363

64-
<dt><strong><span class="index-def" title="style sheet">Style
65-
sheet</span></strong>
64+
<dt><strong><span class="index-def" title="style
65+
sheet"><a name="style-sheet">Style sheet</a></span></strong>
6666

6767
<dd>A set of statements that specify presentation of a document.
6868

@@ -72,10 +72,11 @@ href="#user-agent">user agent</a>. The interaction of these sources is
7272
described in the section on <a href="cascade.html">cascading and
7373
inheritance</a>.
7474

75-
<dt><strong><a name="valid-style-sheet">Valid style sheet</a></strong>
75+
<dt><strong><span class="index-def" title="valid style
76+
sheet|validity">><a name="valid-style-sheet">Valid style
77+
sheet</a></span></strong>
7678

77-
<dd>The <span class="index-def" title="valid style
78-
sheet">validity</span> of a style sheet depends on the level of CSS
79+
<dd>The validity of a style sheet depends on the level of CSS
7980
used for the style sheet. All valid CSS1 style sheets are valid CSS&nbsp;2.1
8081
style sheets, but some changes from CSS1 mean that
8182
a few CSS1 style sheets will have slightly different semantics in
@@ -85,12 +86,15 @@ style sheets are valid CSS&nbsp;2.1 style sheets.
8586
<P>A valid CSS&nbsp;2.1 style sheet must be written according to the <a
8687
href="grammar.html">grammar of CSS&nbsp;2.1</a>. Furthermore, it must contain
8788
only at-rules, property names, and property values defined in this
88-
specification. An <span class="index-def"
89-
title="illegal"><strong>illegal</strong></span> (invalid) at-rule,
89+
specification.
90+
An <span
91+
class="index-def"><strong><a
92+
name="illegal">illegal</a></strong></span> (invalid) at-rule,
9093
property name, or property value is one that is not valid.
9194

92-
<dt><strong><span class="index-def" title="source document">Source
93-
document</span></strong>
95+
<dt><strong><span class="index-def" title="source
96+
document"><a name="source-document">Source
97+
document</a></span></strong>
9498

9599
<dd>The document to which one or more style sheets apply. This is
96100
encoded in some language that represents the document as a tree of <a
@@ -155,17 +159,18 @@ associated (textual) value.
155159
<dt><strong><span class="index-def" title="content"><a
156160
name="content">Content</a></span></strong>
157161

158-
<dd>The content associated with an element in the
159-
source document. Some elements have no content, in which case they are
160-
called <strong><span
161-
class="index-def" title="empty">empty</span></strong>. The content of
162-
an element may include text, and it may include a number of
163-
sub-elements, in which case the element is called the <strong><span
164-
class="index-def" title="parent">parent</span></strong> of those
162+
<dd>The content associated with an element in the source document.
163+
Some elements have no content, in which case they are
164+
called <strong><span class="index-def"
165+
title="empty"><a name="empty">empty</a></span></strong>. The content
166+
of an element may include text, and it may include a number of
167+
sub-elements, in which case the element is called
168+
the <strong><span class="index-def"
169+
title="parent"><a name="parent">parent</a></span></strong> of those
165170
sub-elements.
166171

167-
168-
<dt><strong><span class="index-def" title="ignore">Ignore</span></strong>
172+
<dt><strong><span class="index-def"
173+
title="ignore"><a name="ignore">Ignore</a></span></strong>
169174

170175
<dd>This term has two slightly different meanings in this
171176
specification. First, a CSS parser must follow certain rules when it
@@ -204,26 +209,26 @@ in this tree has exactly one parent, with the exception of the
204209
name="root">root</a></span></strong> element, which has none.
205210

206211
<dt><strong><span class="index-def"
207-
title="child">Child</span></strong>
212+
title="child"><a name="child">Child</a></span></strong>
208213

209214
<dd>An element A is called the child of element B if and only if B is
210215
the parent of A.
211216

212217
<dt><strong><span class="index-def"
213-
title="descendant">Descendant</span></strong>
218+
title="descendant"><a name="descendant">Descendant</a></span></strong>
214219

215220
<dd>An element A is called a descendant of an element B, if either (1)
216221
A is a child of B, or (2) A is the child of some element C that is a
217222
descendant of B.
218223

219224
<dt><strong><span class="index-def"
220-
title="ancestor">Ancestor</span></strong>
225+
title="ancestor"><a name="ancestor">Ancestor</a></span></strong>
221226

222227
<dd>An element A is called an ancestor of an element B, if and only if
223228
B is a descendant of A.
224229

225230
<dt><strong><span class="index-def"
226-
title="sibling">Sibling</span></strong>
231+
title="sibling"><a name="sibling">Sibling</a></span></strong>
227232

228233
<dd>An element A is called a sibling of an element B, if and only if B
229234
and A share the same parent element. Element A is a preceding sibling
@@ -238,27 +243,35 @@ only if (1) A is an ancestor of B or (2) A is a preceding sibling of
238243
B.
239244

240245
<dt><strong><span class="index-def" title="following
241-
element|element::following">Following element</span></strong>
246+
element|element::following"><a name="following">Following
247+
element</a></span></strong>
242248

243249
<dd>An element A is called a following element of an element B, if and
244250
only if B is a preceding element of A.
245251

246-
<dt><strong><a name="author">Author</a></strong>
247-
<dd>An author is a person who writes
248-
documents and associated style sheets. An
249-
<span class="index-def" title="authoring tool"><strong>authoring tool</strong></span>
250-
is a <a href="#user-agent">User Agent</a> that generates style sheets.</dd>
252+
<dt><strong><span
253+
class="index-def"><a name="author">Author</a></span></strong>
254+
255+
<dd>An author is a person who writes documents and associated style
256+
sheets.
257+
An <strong><span class="index-def"><a name="authoring">authoring
258+
tool</a></span></strong> is a <a href="#user-agent">User Agent</a>
259+
that generates style sheets.</dd>
260+
261+
<dt><strong><span
262+
class="index-def"><a name="user">User</a></span></strong>
251263

252-
<dt><strong><a name="user">User</a></strong>
253264
<dd> A user is a person who interacts with a user agent to view, hear, or
254265
otherwise use a document and its associated style sheet. The user
255266
may provide a personal style sheet that encodes personal
256267
preferences.
257268
</dd>
258269

259-
<dt><strong><a name="user-agent">User agent (UA)</a></strong>
260-
<dd>A <span class="index-def" title="user agent|UA">user
261-
agent</span> is any program that interprets a document written in
270+
<dt><strong><span class="index-def"><a name="user-agent">User agent
271+
(UA)</a></span></strong>
272+
273+
<dd>A <span class="index-def" title="user agent|UA"><a name="ua">user
274+
agent</a></span> is any program that interprets a document written in
262275
the document language and applies associated style sheets according
263276
to the terms of this specification. A user agent may display a
264277
document, read it aloud, cause it to be printed, convert it
@@ -270,7 +283,8 @@ but not HTML (as listed in the previous sentence) is not considered an
270283
HTML user agent for the purpose of conformance with this
271284
specification.
272285

273-
<dt><strong><a name="property">Property</a></strong>
286+
<dt><strong><span
287+
class="index-def"><a name="property">Property</a></span></strong>
274288

275289
<dd>CSS defines a finite set of parameters, called properties, that
276290
direct the rendering of a document. Each property has a name (e.g.,
@@ -326,7 +340,8 @@ end tags.
326340
<h2><a name="conformance">UA Conformance</a></h2>
327341

328342
<P>This section defines <span class="index-def"
329-
title="conformance">conformance</span> with the CSS&nbsp;2.1
343+
title="conformance"><a name="conformance">conformance</a></span> with
344+
the CSS&nbsp;2.1
330345
specification only. There may be other levels of CSS in the future
331346
that may require a user agent to implement a different set of features
332347
in order to conform.

0 commit comments

Comments
 (0)