Skip to content

Commit 641dbe8

Browse files
committed
[W3C revision history] Replaced some occurrences of CLASS=index-def by DFN and removed all (date: 2003/08/11 12:21:53; author: bbos)
1 parent 8cfff8c commit 641dbe8

1 file changed

Lines changed: 43 additions & 76 deletions

File tree

css3-syntax/Overview.src.html

Lines changed: 43 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
<div class="head">
2525
<p><a class="logo" rel="home" href="http://www.w3.org/"><img height="48"
26-
width="72" alt="W3C " src="http://www.w3.org/Icons/w3c_home"></a><a
26+
width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a><a
2727
class="logo" rel="in-activity" href="../"><img
2828
src="../../../Woolly/woolly-icon.png" height="48" width="72"
29-
alt="CSS WG "></a></p>
29+
alt=" CSS WG"></a></p>
3030

3131
<h1>CSS3 module: Syntax</h1>
3232

@@ -68,7 +68,7 @@ <h2 class="no-num no-toc" id="abstract">Abstract</h2>
6868

6969
<h2 class="no-num no-toc" id="status">Status of this document</h2>
7070

71-
<p><em> This section describes the status of this document at the
71+
<p><em>This section describes the status of this document at the
7272
time of its publication. Other documents may supersede this
7373
document. A list of current W3C publications and the latest revision
7474
of this technical report can be found in the <a
@@ -290,8 +290,8 @@ <h3 id="text-css" class="index-def" title="text/css">The text/css content type</
290290
Internet as a sequence of bytes accompanied by encoding
291291
information<!--(see [[!HTML40]], chapter 5)-->. The structure of the
292292
transmission, termed a <span class="index-def" title="message
293-
entity"><a name="message-entity"><strong>message
294-
entity,</strong></a></span> is defined by MIME and HTTP 1.1 (see
293+
entity"><strong>message
294+
entity,</strong></span> is defined by MIME and HTTP 1.1 (see
295295
[[!RFC2045]] and [[!HTTP11]]). A message entity with a content type of
296296
"text/css" represents an independent CSS style sheet. The "text/css"
297297
content type has been registered by RFC 2318 ([[!RFC2318]]).</p>
@@ -322,8 +322,7 @@ <h3 id="characters">Characters and case</h3>
322322
case-sensitive in XML.</p></li>
323323

324324
<li><p>In CSS3, <span class="index-def"
325-
title="identifier|identifier, definition of"><a
326-
name="value-def-identifier"><dfn>identifiers</dfn></a></span>
325+
title="identifier|identifier, definition of"><dfn>identifiers</dfn></span>
327326
(including element names, classes, and IDs in
328327
selectors (see [[!SELECT]] <span class="issue">[or is this still
329328
true]</span>)) can contain only the
@@ -340,7 +339,7 @@ <h3 id="characters">Characters and case</h3>
340339

341340
<li><p>In CSS3, a backslash (\) character indicates three types of
342341
<span class="index-def" title="backslash escapes">
343-
<a name="escaped-characters">character escapes</a></span>.</p>
342+
character escapes</span>.</p>
344343

345344
<p>First, inside a string (see [[!CSS3VAL]]), a backslash
346345
followed by a newline is ignored (i.e., the string is deemed not
@@ -571,12 +570,12 @@ <h4>Style sheets</h4>
571570
</table>
572571
]</div>
573572

574-
<p><a name="comment">COMMENT</a> tokens do not occur
573+
<p><dfn>COMMENT</dfn> tokens do not occur
575574
in the grammar (to keep it readable), but any number of these tokens
576575
may appear anywhere between other tokens.
577576

578-
<p>The token S in the grammar above stands for <A
579-
name="whitespace">whitespace</a>. Only the characters "space" (Unicode
577+
<p>The token S in the grammar above stands for <dfn>whitespace</dfn>.
578+
Only the characters "space" (Unicode
580579
code 32), "tab" (9), "line feed" (10), "carriage return" (13), and
581580
"form feed" (12) can occur in whitespace. Other space-like characters,
582581
such as "em-space" (8195) and "ideographic space" (12288), are never
@@ -866,7 +865,7 @@ <h2 id="error-handling">Rules for handling parsing errors or unsupported feature
866865

867866
<p>In some cases, user agents must ignore part of an illegal style
868867
sheet. This specification defines <span class="index-def"
869-
title="ignore"><a name="ignore"><dfn>ignore</dfn></a></span> to mean
868+
title="ignore"><dfn>ignore</dfn></span> to mean
870869
that the user agent parses the illegal part according to the grammar
871870
above (in order to find its
872871
beginning and end), but otherwise acts as if it had not been there.</p>
@@ -1415,8 +1414,7 @@ <h3>Definitions</h3>
14151414

14161415
<dl>
14171416

1418-
<dt><strong><span class="index-def" title="style sheet">Style
1419-
sheet</span></strong>
1417+
<dt><dfn>Style sheet</dfn>
14201418

14211419
<dd>A set of statements that specify presentation of a document.
14221420

@@ -1426,7 +1424,7 @@ <h3>Definitions</h3>
14261424
described in the cascading and
14271425
inheritance module [[!CSS3CASCADE]].</p>
14281426

1429-
<dt><strong><a name="valid-style-sheet">Valid style sheet</a></strong>
1427+
<dt><dfn>Valid style sheet</dfn>
14301428

14311429
<dd>The <span class="index-def" title="valid style
14321430
sheet">validity</span> of a style sheet depends on the level of CSS
@@ -1443,8 +1441,8 @@ <h3>Definitions</h3>
14431441
title="illegal"><strong>illegal</strong></span> (invalid) at-rule,
14441442
property name, or property value is one that is not valid.
14451443

1446-
<dt><strong><span class="index-def" title="source document">Source
1447-
document</span></strong>
1444+
<dt><span class="index-def" title="source document">Source
1445+
document</span>
14481446

14491447
<dd>The document to which one or more style sheets apply. This is
14501448
encoded in some language that represents the document as a tree of <a
@@ -1453,47 +1451,40 @@ <h3>Definitions</h3>
14531451
href="#attribute">attributes</a>, and a (possibly empty) <a
14541452
href="#content">content</a>.</dd>
14551453

1456-
<dt><strong><span class="index-def" title="document language"><a
1457-
name="doclanguage">Document language</a></span></strong>
1454+
<dt><span class="index-def" title="document language"><dfn>Document language</dfn></span>
14581455

14591456
<dd>The encoding language of the source document (e.g., HTML, XHTML or
14601457
SVG). CSS is used to describe the presentation of document languages
14611458
and CSS does not change the underlying semantics of the document
14621459
languages.
14631460

1464-
<dt><strong><span class="index-def" title="element"><a
1465-
name="element">Element</a></span></strong>
1461+
<dt><dfn>Element</dfn>
14661462

14671463
<dd>(An SGML term, see [[!ISO8879]].) The primary syntactic constructs
14681464
of the document language. Most CSS style sheet rules use the names of
14691465
these elements (such as P, TABLE, and OL in HTML) to specify
14701466
how the elements should be rendered.
14711467

1472-
<dt><strong><span class="index-def" title="replaced element">
1473-
<a name="replaced-element">Replaced
1474-
element</a></span></strong>
1468+
<dt><dfn>Replaced element</dfn>
14751469

14761470
<dd>An element for which the CSS formatter knows only the intrinsic
14771471
dimensions. In HTML, IMG and OBJECT elements can be replaced elements.
14781472
For example, the content of the IMG element is often replaced by the
14791473
image that the "src" attribute designates.
14801474

1481-
<dt><strong><span class="index-def" title="intrinsic
1482-
dimensions"><a name="intrinsic">Intrinsic dimensions</a></span></strong>
1475+
<dt><dfn>Intrinsic dimensions</dfn>
14831476

14841477
<dd>The width and height as defined by the element itself, not imposed
14851478
by the surroundings. CSS does not define how the intrinsic dimensions
14861479
are found. In CSS&nbsp;2.1 it is assumed that all replaced elements,
14871480
and only replaced elements, come with intrinsic dimensions.
14881481

1489-
<dt><strong><span class="index-def" title="attribute"><a
1490-
name="attribute">Attribute</a></span></strong>
1482+
<dt><dfn>Attribute</dfn>
14911483

14921484
<dd>A value associated with an element, consisting of a name, and an
14931485
associated (textual) value.
14941486

1495-
<dt><strong><span class="index-def" title="content"><a
1496-
name="content">Content</a></span></strong>
1487+
<dt><dfn>Content</dfn>
14971488

14981489
<dd>The content associated with an element in the
14991490
source document. Some elements have no content, in which case they are
@@ -1521,9 +1512,7 @@ <h3>Definitions</h3>
15211512
border properties must be ignored.
15221513

15231514

1524-
<dt><strong><span class="index-def" title="rendered
1525-
content|content::rendered"><a name="rendered-content">Rendered
1526-
content</a></span></strong>
1515+
<dt><dfn>Rendered content</dfn>
15271516

15281517
<dd>The content of an element after the rendering that applies to it
15291518
according to the relevant style sheets has been applied. The rendered
@@ -1533,14 +1522,11 @@ <h3>Definitions</h3>
15331522
attribute), and may include items inserted implicitly or explicitly by
15341523
the style sheet, such as bullets, numbering, etc.
15351524

1536-
<dt><strong><span class="index-def" title="document tree">
1537-
<a name="doctree">Document
1538-
tree</a></span></strong>
1525+
<dt><dfn>Document tree</dfn>
15391526

15401527
<dd>The tree of elements encoded in the source document. Each element
15411528
in this tree has exactly one parent, with the exception of the
1542-
<strong><span class="index-def" title="root"><a
1543-
name="root">root</a></span></strong> element, which has none.
1529+
<dfn>root</dfn> element, which has none.
15441530

15451531
<dt><strong><span class="index-def"
15461532
title="child">Child</span></strong>
@@ -1569,8 +1555,7 @@ <h3>Definitions</h3>
15691555
if it comes before B in the document tree. Element B is a following
15701556
sibling if it comes after A in the document tree.
15711557

1572-
<dt><strong><span class="index-def" title="preceding
1573-
element|element::preceding"><a name="preceding">Preceding element</a></span></strong>
1558+
<dt><dfn title="preceding element|element::preceding">Preceding element</dfn>
15741559

15751560
<dd>An element A is called a preceding element of an element B, if and
15761561
only if (1) A is an ancestor of B or (2) A is a preceding sibling of
@@ -1582,20 +1567,20 @@ <h3>Definitions</h3>
15821567
<dd>An element A is called a following element of an element B, if and
15831568
only if B is a preceding element of A.
15841569

1585-
<dt><strong><strong><a name="author">Author</a></strong></strong>
1570+
<dt><dfn>Author</dfn>
15861571
<dd>An author is a person who writes
15871572
documents and associated style sheets. An
15881573
<span class="index-def" title="authoring tool"><strong>authoring tool</strong></span>
15891574
generates documents and associated style sheets.</dd>
15901575

1591-
<dt><strong><strong><a name="user">User</a></strong></strong>
1576+
<dt><dfn>User</dfn>
15921577
<dd> A user is a person who interacts with a user agent to view, hear, or
15931578
otherwise use a document and its associated style sheet. The user
15941579
may provide a personal style sheet that encodes personal
15951580
preferences.
15961581
</dd>
15971582

1598-
<dt><strong><strong><a name="user-agent">User agent (UA)</a></strong></strong>
1583+
<dt><dfn>User agent (UA)</dfn>
15991584
<dd>A <span class="index-def" title="user agent|UA">user
16001585
agent</span> is any program that interprets a document written in
16011586
the document language and applies associated style sheets according
@@ -1740,9 +1725,8 @@ <h2 id="property-defs">Format of property definitions in other modules</h2>
17401725
information that resembles the following:</p>
17411726

17421727
<div class="propdef">
1743-
<dl><dt>
1744-
<a name="propdef-property-name"
1745-
class="propdef-title"><strong>'property-name'</strong></a>
1728+
<dl>
1729+
<dt><dfn class="propdef-title">'property-name'</dfn>
17461730

17471731
<dd>
17481732
<table class="propinfo" cellspacing=0 cellpadding=0>
@@ -1936,41 +1920,24 @@ <h3 id="media-groups">Media groups</h3>
19361920
<P>CSS3 defines the following media groups: </P>
19371921
<ul>
19381922
<li>
1939-
<span class="index-def" title="'continuous' media group"><a
1940-
name="continuous-media-group"><strong>continuous</strong></a></span>
1941-
or <span class="index-def" title="'paged' media group"><a
1942-
name="paged-media-group"><strong>paged</strong></a></span>.
1943-
1944-
<li><span
1945-
class="index-def" title="'visual' media group"><a
1946-
name="visual-media-group"> <strong>visual</strong></a>,</span>
1947-
<span class="index-def" title="'audio' media group"><a
1948-
name="audio-media-group"><strong>audio</strong></a>,</span>
1949-
<span class="index-def" title="'speech' media group"><a
1950-
name="speech-media-group"><strong>speech</strong></a>,</span>
1951-
or <span
1952-
class="index-def" title="'tactile' media group"><a
1953-
name="tactile-media-group"><strong>tactile</strong></a></span>.
1954-
<li><span
1955-
class="index-def" title="'grid' media group"><a
1956-
name="grid-media-group"><strong>grid</strong></a></span> (for
1923+
<dfn title="'continuous' media group">continuous</dfn>
1924+
or <dfn title="'paged' media group">paged</dfn>.
1925+
1926+
<li><dfn title="'visual' media group">visual,</dfn>
1927+
<dfn title="'audio' media group">audio,</dfn>
1928+
<dfn title="'speech' media group">speech,</dfn>
1929+
or <dfn title="'tactile' media group">tactile</dfn>.
1930+
<li><dfn title="'grid' media group">grid</dfn> (for
19571931
character grid devices), or
1958-
<span
1959-
class="index-def" title="'bitmap' media group"><a
1960-
name="bitmap-media-group"><strong>bitmap</strong></a></span>.
1932+
<dfn title="'bitmap' media group">bitmap</dfn>.
19611933

1962-
<li><span
1963-
class="index-def" title="'interactive' media group"><a
1964-
name="interactive-media-group"><strong>interactive</strong></a></span> (for
1934+
<li><dfn title="'interactive' media group">interactive</dfn> (for
19651935
devices that allow user interaction), or
1966-
<span
1967-
class="index-def" title="'static' media group"><a
1968-
name="static-media-group"><strong>static</strong></a></span> (for
1936+
<dfn title="'static' media group">static</dfn> (for
19691937
those that don't).
19701938

1971-
<li><span class="index-def" title="'all'
1972-
media group"> <a name="all-media-group"><strong>all</strong></a></span>
1973-
(includes all media types)
1939+
<li><dfn title="'all' media group">all</dfn> (includes all media
1940+
types)
19741941
</ul>
19751942

19761943
<p>The following table shows the relationships

0 commit comments

Comments
 (0)