Skip to content

Commit f5708eb

Browse files
committed
Small fixes:
- Replaced CSS3SELECT by SELECT - Replaced SELECT-API2 by SELECTORS-API2 - Added the words "first public Working Draft" - Fixed several misspelled/unmatched closing tags </code> and </li> - Added a missing closing tag </a> - Fixed a duplicate ID
1 parent 5a7c9c4 commit f5708eb

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

selectors4/Overview.src.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h2 class="no-num no-toc" id=abstract>
6363
elements in the document.</p>
6464

6565
<p>Selectors Level 4 describes the selectors that already exist in
66-
[[!CSS3SELECT]], and further introduces new selectors for CSS and
66+
[[!SELECT]], and further introduces new selectors for CSS and
6767
other languages that may need them.</p>
6868

6969
<h2 class="no-num no-toc" id=status>Status of this Document</h2>
@@ -76,6 +76,8 @@ <h2 class="no-num no-toc" id=status>Status of this Document</h2>
7676
Read the <a href="http://www.w3.org/TR/CSS/">CSS Snapshot</a> for
7777
an overview of the CSS development process.
7878

79+
<p>This is the first public Working Draft of this new specification.
80+
7981
<h2 class="no-num no-toc" id="contents">Table of Contents</h2>
8082
<!--toc-->
8183

@@ -108,7 +110,7 @@ <h3 id="placement">Module Interactions</h3>
108110

109111
<p>This module replaces the definitions for, and extends the set of
110112
selectors defined for CSS
111-
in [[CSS3SELECT]] and [[CSS21]].
113+
in [[SELECT]] and [[CSS21]].
112114

113115
<p>Pseudo-element selectors, which define abstract elements in a
114116
rendering tree, are not part of this specification: their generic syntax
@@ -1362,7 +1364,7 @@ <h3 id="here-pseudo">
13621364
<li>Link 3 would receive Styles 2, 3, and 4
13631365
<li>Link 4 would receive Style 1
13641366
<li>Link 5 would remain unstyled, and Style 5 would not be applied to anything.
1365-
<ol>
1367+
</ol>
13661368
</div>
13671369

13681370
<div class="example">
@@ -1415,7 +1417,7 @@ <h3 id=scope-pseudo>
14151417

14161418
<p>The <dfn>contextual reference element set</dfn> is a (potentially empty)
14171419
explicitly-specified set of elements, such as that specified by the
1418-
<code>querySelector()</code> call in [[SELECT-API2]].
1420+
<code>querySelector()</code> call in [[SELECTORS-API2]].
14191421
Specifications intending for this pseudo-class to match specific elements
14201422
rather than the document's root element must define a contextual reference
14211423
element set.
@@ -1456,7 +1458,7 @@ <h3 id="hover-pseudo">
14561458
user agents that support <a
14571459
href="http://www.w3.org/TR/CSS21/media.html#interactive-media-group">interactive
14581460
media</a> may not be able to support this pseudo-class (e.g., a pen
1459-
device that does not detect hovering).</li>
1461+
device that does not detect hovering).
14601462

14611463
<p>The parent of an element that is <code>:hover</code> is also in
14621464
that state.
@@ -1476,7 +1478,7 @@ <h3 id="active-pseudo">
14761478
user presses the mouse button and releases it. On systems with more
14771479
than one mouse button, <code>:active</code> applies only to the
14781480
primary or primary activation button (typically the "left" mouse
1479-
button), and any aliases thereof.</li>
1481+
button), and any aliases thereof.
14801482

14811483
<p>There may be document language or implementation specific limits on
14821484
which elements can become <code>:active</code>.</p>
@@ -1487,12 +1489,12 @@ <h3 id="active-pseudo">
14871489
<p class="note"><strong>Note:</strong> An element can be both
14881490
':visited' and ':active' (or ':link' and ':active').</p>
14891491

1490-
<h3 id="active-pseudo">
1492+
<h3 id="focus-pseudo">
14911493
The input focus pseudo-class '':focus''</h3>
14921494

14931495
<p>The <code>:focus</code> pseudo-class applies while an element
14941496
has the focus (accepts keyboard or mouse events, or other forms of
1495-
input). </li>
1497+
input).
14961498

14971499
<p>There may be document language or implementation specific limits on
14981500
which elements can acquire <code>:focus</code>.</p>
@@ -1530,7 +1532,7 @@ <h3 id="past-pseudo">
15301532
The past-element pseudo-class '':past''</h3>
15311533

15321534
<p>The <code>:past</code> pseudo-class represents any element that is
1533-
defined to occur entirely prior to a <code>:current<code> element.
1535+
defined to occur entirely prior to a <code>:current</code> element.
15341536
If a time-based order of elements is not defined by the document language,
15351537
then this represents any element that is a (possibly indirect) previous
15361538
sibling of a <code>:current</code> element.
@@ -1539,7 +1541,7 @@ <h3 id="future-pseudo">
15391541
The future-element pseudo-class '':future''</h3>
15401542

15411543
<p>The <code>:future</code> pseudo-class represents any element that is
1542-
defined to occur entirely after a <code>:current<code> element.
1544+
defined to occur entirely after a <code>:current</code> element.
15431545
If a time-based order of elements is not defined by the document language,
15441546
then this represents any element that is a (possibly indirect) next
15451547
sibling of a <code>:current</code> element.
@@ -1748,7 +1750,7 @@ <h3 id="opt-pseudos">
17481750
The optionality pseudo-classes '':required'' and '':optional''</h3>
17491751

17501752
<p>A form element is <code id="required-pseudo">:required</code> or
1751-
<code id="optional-pseudo">:optional<code>
1753+
<code id="optional-pseudo">:optional</code>
17521754
if a value for it is, respectively, required or optional before the
17531755
form it belongs to can be validly submitted. Elements that are not
17541756
form elements are neither required nor optional.
@@ -2347,7 +2349,7 @@ <h3 id=idref-combinator>
23472349
<div class="example">
23482350
<p>The following example highlights an <code>&lt;input&gt;</code> element
23492351
when its
2350-
<a href="http://www.w3.org/TR/html40/interact/forms.html#h-17.9"><code>&lt;label&gt;</code>
2352+
<a href="http://www.w3.org/TR/html40/interact/forms.html#h-17.9"><code>&lt;label&gt;</code></a>
23512353
is focused or hovered-over:</p>
23522354
<pre>label:matches(:hover, :focus) /for/ input, /* association by "for" attribute */
23532355
<!-- -->label:matches(:hover, :focus):not([for]) input { /* association by containment */

0 commit comments

Comments
 (0)