Skip to content

Commit e67ee08

Browse files
committed
Switch subject indicator to suffix, revert to exclamation point. Fix some typos found by Bert.
1 parent b3ffe1a commit e67ee08

2 files changed

Lines changed: 24 additions & 23 deletions

File tree

selectors4/Overview.html

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919

2020
<h1 id=title>Selectors Level 4</h1>
2121

22-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 November
22+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 November
2323
2011</h2>
2424

2525
<dl>
2626
<dt>This version: <!--
27-
<dd><a href="http://www.w3.org/TR/2011/ED-selectors4-20111104/">
28-
http://www.w3.org/TR/2011/WD-selectors4-20111104/</a>
27+
<dd><a href="http://www.w3.org/TR/2011/ED-selectors4-20111115/">
28+
http://www.w3.org/TR/2011/WD-selectors4-20111115/</a>
2929
3030
<dt>Editor's draft:
3131
-->
@@ -686,7 +686,7 @@ <h2 id=overview><span class=secno>2. </span> Selectors Overview</h2>
686686

687687
<td><a href="#dir-pseudo">The :dir() pseudo-class</a>
688688

689-
<td>2
689+
<td>4
690690

691691
<tr>
692692
<td><code>E:lang(fr, en)</code>
@@ -706,7 +706,7 @@ <h2 id=overview><span class=secno>2. </span> Selectors Overview</h2>
706706

707707
<td><a href="#any-link-pseudo">The hyperlink pseudo-class</a>
708708

709-
<td>1
709+
<td>4
710710

711711
<tr>
712712
<td><code>E:link</code>
@@ -1121,7 +1121,7 @@ <h2 id=overview><span class=secno>2. </span> Selectors Overview</h2>
11211121
<td>4
11221122

11231123
<tr>
1124-
<td><code>?E &gt; F</code>
1124+
<td><code>E! &gt; F</code>
11251125

11261126
<td>an E element parent of an F element
11271127

@@ -1190,11 +1190,12 @@ <h3 id=subject><span class=secno>3.2. </span> Determining the Subject of a
11901190
selector are always a subset of the elements represented by the last
11911191
compound selector.
11921192

1193-
<p>The subject of the selector can be explicitly identified by prepending a
1194-
question mark (?) to one of the compound selectors in a selector. Although
1195-
the element structure that the selector represents is the same with or
1196-
without the dollar sign, indicating the subject in this way can change
1197-
which compound selector represents the subject in that structure.
1193+
<p>The subject of the selector can be explicitly identified by appending an
1194+
exclamation mark (!) to one of the compound selectors in a selector.
1195+
Although the element structure that the selector represents is the same
1196+
with or without the exclamation mark, indicating the subject in this way
1197+
can change which compound selector represents the subject in that
1198+
structure.
11981199

11991200
<div class=example>
12001201
<p>For example, the following selector represents a list item
@@ -1205,10 +1206,10 @@ <h3 id=subject><span class=secno>3.2. </span> Determining the Subject of a
12051206
<p>However the following one represents an ordered list <code>OL</code>
12061207
having a unique child, that child being a <code>LI</code>:
12071208

1208-
<pre>?OL &gt; LI:only-child</pre>
1209+
<pre>OL! &gt; LI:only-child</pre>
12091210

1210-
<p>The structures represented by these two selectors are the same, but the
1211-
subjects of the selectors are not.
1211+
<p>The tree structures represented by these two selectors are the same,
1212+
but the subjects of the selectors are not.
12121213
</div>
12131214

12141215
<h3 id=pseudo-classes><span class=secno>3.3. </span> Pseudo-classes</h3>

selectors4/Overview.src.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ <h2 id=overview>
244244
<td>an element of type E in with left-to-right directionality
245245
(the document language specifies how directionality is determined)
246246
<td><a href="#dir-pseudo">The :dir() pseudo-class</a>
247-
<td>2
247+
<td>4
248248
<tr>
249249
<td><code>E:lang(fr, en)</code>
250250
<td>an element of type E in either language "fr" or language "en"
@@ -256,7 +256,7 @@ <h2 id=overview>
256256
<td><code>E:any-link</code>
257257
<td>an E element being the source anchor of a hyperlink
258258
<td><a href="#any-link-pseudo">The hyperlink pseudo-class</a>
259-
<td>1
259+
<td>4
260260
<tr>
261261
<td><code>E:link</code>
262262
<td>an E element being the source anchor of a hyperlink
@@ -488,7 +488,7 @@ <h2 id=overview>
488488
<td><a href="#idref-combinators">Reference combinator</a>
489489
<td>4
490490
<tr>
491-
<td><code>?E &gt; F</code>
491+
<td><code>E! &gt; F</code>
492492
<td>an E element parent of an F element
493493
<td><a href="#subject">Determining the subject of a selector</a> +
494494
<a href="#child-combinators">Child combinator</a>
@@ -556,10 +556,10 @@ <h3 id=subject>
556556
the selector are always a subset of the elements represented by the last
557557
compound selector.</p>
558558

559-
<p>The subject of the selector can be explicitly identified by prepending
560-
a question mark (?) to one of the compound selectors in a selector.
559+
<p>The subject of the selector can be explicitly identified by appending
560+
an exclamation mark (!) to one of the compound selectors in a selector.
561561
Although the element structure that the selector represents is the same
562-
with or without the dollar sign, indicating the subject in this way
562+
with or without the exclamation mark, indicating the subject in this way
563563
can change which compound selector represents the subject in that structure.
564564

565565
<div class="example">
@@ -568,9 +568,9 @@ <h3 id=subject>
568568
<pre>OL &gt; LI:only-child</pre>
569569
<p>However the following one represents an ordered list <code>OL</code>
570570
having a unique child, that child being a <code>LI</code>:
571-
<pre>?OL &gt; LI:only-child</pre>
572-
<p>The structures represented by these two selectors are the same, but the
573-
subjects of the selectors are not.
571+
<pre>OL! &gt; LI:only-child</pre>
572+
<p>The tree structures represented by these two selectors are the same,
573+
but the subjects of the selectors are not.
574574
</div>
575575

576576
<h3 id=pseudo-classes>

0 commit comments

Comments
 (0)