Skip to content

Commit 94eb5fd

Browse files
committed
Fix validation errors
1 parent e49ed13 commit 94eb5fd

2 files changed

Lines changed: 36 additions & 37 deletions

File tree

selectors4/Overview.html

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2-
"http://www.w3.org/TR/html4/strict.dtd">
1+
<!DOCTYPE html>
32

43
<html lang=en>
54
<head>
@@ -50,7 +49,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 27 September
5049
<dd><a href="http://www.w3.org/TR/2011/REC-css3-selectors-20110929/ ">
5150
http://www.w3.org/TR/2011/REC-css3-selectors-20110929/ </a>
5251

53-
<dt><a name=editors-list></a>Editors:
52+
<dt>Editors:
5453

5554
<dd class=vcard><a class="url fn"
5655
href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a>
@@ -97,9 +96,9 @@ <h2 class="no-num no-toc" id=abstract> Abstract</h2>
9796
and as such form one of several technologies that can be used to select
9897
nodes in an XML document. Selectors have been optimized for use with HTML
9998
and XML, and are designed to be usable in performance-critical code. They
100-
are a core component of <acronym title="Cascading Style
101-
Sheets">CSS</acronym> (Cascading Style Sheets), which uses Selectors to
102-
bind style properties to elements in the document.
99+
are a core component of <abbr title="Cascading Style Sheets">CSS</abbr>
100+
(Cascading Style Sheets), which uses Selectors to bind style properties to
101+
elements in the document.
103102

104103
<p>Selectors Level 4 describes the selectors that already exist in <a
105104
href="#SELECT" rel=biblioentry>[SELECT]<!--{{!SELECT}}--></a>, and further
@@ -486,10 +485,10 @@ <h2 id=context><span class=secno>1. </span> Introduction</h2>
486485

487486
<p>These expressions can also be used, for instance, to select a set of
488487
elements, or a single element from a set of elements, by evaluating the
489-
expression across all the elements in a subtree. <acronym title="Simple
490-
Tree Transformation Sheets">STTS</acronym> (Simple Tree Transformation
491-
Sheets), a language for transforming XML trees, uses this mechanism. <a
492-
href="#STTS3" rel=biblioentry>[STTS3]<!--{{STTS3}}--></a>
488+
expression across all the elements in a subtree. <abbr title="Simple Tree
489+
Transformation Sheets">STTS</abbr> (Simple Tree Transformation Sheets), a
490+
language for transforming XML trees, uses this mechanism. <a href="#STTS3"
491+
rel=biblioentry>[STTS3]<!--{{STTS3}}--></a>
493492

494493
<p>Selectors Levels 1, 2, and 3 are defined as the subsets of selector
495494
functionality defined in the <a
@@ -1153,24 +1152,24 @@ <h2 id=syntax><span class=secno>3. </span> Selector Syntax and Structure</h2>
11531152
<h3 id=structure><span class=secno>3.1. </span> Structure and Terminology</h3>
11541153

11551154
<p>The term <dfn id=selector>selector</dfn> can refer to a <i>simple
1156-
selector</i>, <i>compound selector</i>, <a
1157-
href="#complex-selector"><i>complex selector</i></a>, or <a
1155+
selector</i>, <a href="#compound"><i>compound selector</i></a>, <a
1156+
href="#complex"><i>complex selector</i></a>, or <a
11581157
href="#selector-list"><i>selector list</i></a>.
11591158

1160-
<p>A <dfn id=complex-selector>complex selector</dfn> is a chain of one or
1161-
more <a href="#compound">compound selectors</a> separated by <a
1159+
<p>A <dfn id=complex>complex selector</dfn> is a chain of one or more <a
1160+
href="#compound">compound selectors</a> separated by <a
11621161
href="#combinators">combinators</a>.
11631162

1164-
<p>A <dfn id=compound-selector><a name=compound>compound selector</a></dfn>
1165-
is a chain of <a href="#simple">simple selectors</a> that are not
1166-
separated by a <a href="#combinators">combinator</a>. It always begins
1167-
with a <a href="#type-selectors">type selector</a> or a (possibly implied)
1168-
<a href="#universal-selector">universal selector</a>. No other type
1169-
selector or universal selector is allowed in the sequence.
1163+
<p>A <dfn id=compound>compound selector</dfn> is a chain of <a
1164+
href="#simple">simple selectors</a> that are not separated by a <a
1165+
href="#combinators">combinator</a>. It always begins with a <a
1166+
href="#type-selectors">type selector</a> or a (possibly implied) <a
1167+
href="#universal-selector">universal selector</a>. No other type selector
1168+
or universal selector is allowed in the sequence.
11701169

1171-
<p>A <dfn id=simple-selector><a name=simple></a><a href="#simple">simple
1172-
selector</a></dfn> is either a <a href="#type-selectors">type
1173-
selector</a>, <a href="#universal-selector">universal selector</a>, <a
1170+
<p>A <dfn id=simple><a href="#simple">simple selector</a></dfn> is either a
1171+
<a href="#type-selectors">type selector</a>, <a
1172+
href="#universal-selector">universal selector</a>, <a
11741173
href="#attribute-selectors">attribute selector</a>, <a
11751174
href="#class-html">class selector</a>, <a href="#id-selectors">ID
11761175
selector</a>, or <a href="#pseudo-classes">pseudo-class</a>.
@@ -3418,9 +3417,9 @@ <h3 id=grammar><span class=secno>16.1. </span> Grammar</h3>
34183417

34193418
<h3 id=lex><span class=secno>16.2. </span> Lexical scanner</h3>
34203419

3421-
<p>The following is the <a name=x3>tokenizer</a>, written in Flex (see <a
3422-
href="#FLEX" rel=biblioentry>[FLEX]<!--{{!FLEX}}--></a>) notation. The
3423-
tokenizer is case-insensitive.
3420+
<p>The following is the tokenizer, written in Flex (see <a href="#FLEX"
3421+
rel=biblioentry>[FLEX]<!--{{!FLEX}}--></a>) notation. The tokenizer is
3422+
case-insensitive.
34243423

34253424
<p>The two occurrences of "\377" represent the highest character number
34263425
that current versions of Flex can deal with (decimal 255). They should be

selectors4/Overview.src.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<title>Selectors Level 4</title>
@@ -42,7 +42,7 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
4242
http://www.w3.org/TR/2011/REC-css3-selectors-20110929/
4343
</a>
4444

45-
<dt><a name=editors-list></a>Editors:
45+
<dt>Editors:
4646
<dd class="vcard"><a class="url fn" href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a> (Mozilla)
4747

4848
<dt>Previous Editors:
@@ -67,7 +67,7 @@ <h2 class="no-num no-toc" id=abstract>
6767
to select nodes in an XML document. Selectors have been optimized for
6868
use with HTML and XML, and are designed to be usable in
6969
performance-critical code. They are a core component of
70-
<acronym title="Cascading Style Sheets">CSS</acronym> (Cascading
70+
<abbr title="Cascading Style Sheets">CSS</abbr> (Cascading
7171
Style Sheets), which uses Selectors to bind style properties to
7272
elements in the document.</p>
7373

@@ -107,8 +107,8 @@ <h2 id=context>
107107
<p>These expressions can also be used, for instance, to select a set
108108
of elements, or a single element from a set of elements, by
109109
evaluating the expression across all the elements in a
110-
subtree. <acronym title="Simple Tree Transformation
111-
Sheets">STTS</acronym> (Simple Tree Transformation Sheets), a
110+
subtree. <abbr title="Simple Tree Transformation
111+
Sheets">STTS</abbr> (Simple Tree Transformation Sheets), a
112112
language for transforming XML trees, uses this mechanism. [[STTS3]]</p>
113113

114114
<p>Selectors Levels 1, 2, and 3 are defined as the subsets of selector
@@ -514,21 +514,21 @@ <h2 id=syntax>
514514
<h3 id=structure>
515515
Structure and Terminology</h3>
516516

517-
<p>The term <dfn>selector</dfn> can refer to a <i>simple selector</i>,
517+
<p>The term <dfn id=selector>selector</dfn> can refer to a <i>simple selector</i>,
518518
<i>compound selector</i>, <i>complex selector</i>, or <i>selector list</i>.
519519

520-
<p>A <dfn>complex selector</dfn> is a chain of one
520+
<p>A <dfn id=complex>complex selector</dfn> is a chain of one
521521
or more <a href="#compound">compound selectors</a>
522522
separated by <a href="#combinators">combinators</a>.</p>
523523

524-
<p>A <dfn><a name=compound>compound selector</a></dfn>
524+
<p>A <dfn id=compound>compound selector</dfn>
525525
is a chain of <a href="#simple">simple selectors</a>
526526
that are not separated by a <a href="#combinators">combinator</a>. It
527527
always begins with a <a href="#type-selectors">type selector</a> or a
528528
(possibly implied) <a href="#universal-selector">universal selector</a>.
529529
No other type selector or universal selector is allowed in the sequence.</p>
530530

531-
<p>A <dfn><a name=simple></a><a
531+
<p>A <dfn id=simple><a
532532
href="#simple">simple selector</a></dfn> is either a <a
533533
href="#type-selectors">type selector</a>, <a
534534
href="#universal-selector">universal selector</a>, <a
@@ -2609,7 +2609,7 @@ <h3 id=grammar>
26092609
<h3 id=lex>
26102610
Lexical scanner</h3>
26112611

2612-
<p>The following is the <a name=x3>tokenizer</a>, written in Flex (see
2612+
<p>The following is the tokenizer, written in Flex (see
26132613
[[!FLEX]]) notation. The tokenizer is
26142614
case-insensitive.</p>
26152615

@@ -2694,7 +2694,7 @@ <h3 id=css-profiles>
26942694
<pre>h1 a[name]</pre>
26952695

26962696
<p>All CSS declarations attached to such a selector are applied to elements
2697-
matching it. </div>
2697+
matching it.
26982698

26992699
<table class="tprofile">
27002700
<caption>CSS Level 1 Selectors Profile</caption>

0 commit comments

Comments
 (0)