Skip to content

Commit a1920c8

Browse files
committed
More typo-level editorial fixes.
1 parent 0c01702 commit a1920c8

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

selectors3/Overview.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ <h3><a name=id-selectors>6.5. ID selectors</a></h3>
12181218
parsing XML, UAs do not always read the DTD, and thus may not know
12191219
what the ID of an element is (though a UA may have namespace-specific
12201220
knowledge that allows it to determine which attribute is the ID
1221-
attribute for that namespace). If a style sheet designer knows or
1221+
attribute for that namespace). If a style sheet author knows or
12221222
suspects that a UA may not know what the ID of an element is, he
12231223
should use normal attribute selectors instead:
12241224
<code>[name=p371]</code> instead of <code>#p371</code>.</p>
@@ -1804,7 +1804,7 @@ <h5><a name=last-of-type-pseudo>:last-of-type pseudo-class</a></h5>
18041804
<div class="example">
18051805
<p>Example:</p>
18061806
<p>The following selector represents the last data cell
1807-
<code>td</code> of a table row.</p>
1807+
<code>td</code> of a table row <code>tr</code>.</p>
18081808
<pre>tr &gt; td:last-of-type</pre>
18091809
</div>
18101810

@@ -1847,7 +1847,8 @@ <h5><a name=empty-pseudo></a>:empty pseudo-class</h5>
18471847

18481848
<h4><a name=content-selectors>6.6.6. Blank</a></h4> <!-- It's the Return of Appendix H!!! Run away! -->
18491849

1850-
<p>This section intentionally left blank.</p>
1850+
<p>This section intentionally left blank. (This section previously
1851+
defined a <code>:contains()</code> pseudo-class.)</p>
18511852
<!-- (used to be :contains()) -->
18521853

18531854
<h4><a name=negation></a>6.6.7. The negation pseudo-class</h4>
@@ -1903,9 +1904,9 @@ <h3><a name=pseudo-elements>7. Pseudo-elements</a></h3>
19031904
<p>Pseudo-elements create abstractions about the document tree beyond
19041905
those specified by the document language. For instance, document
19051906
languages do not offer mechanisms to access the first letter or first
1906-
line of an element's content. Pseudo-elements allow designers to refer
1907+
line of an element's content. Pseudo-elements allow authors to refer
19071908
to this otherwise inaccessible information. Pseudo-elements may also
1908-
provide designers a way to refer to content that does not exist in the
1909+
provide authors a way to refer to content that does not exist in the
19091910
source document (e.g., the <code>::before</code> and
19101911
<code>::after</code> pseudo-elements give access to generated
19111912
content).</p>
@@ -1937,7 +1938,7 @@ <h4><a name=first-line>7.1. The ::first-line pseudo-element</a></h4>
19371938
<p>CSS example:</p>
19381939
<pre>p::first-line { text-transform: uppercase }</pre>
19391940
<p>The above rule means "change the letters of the first line of every
1940-
paragraph to uppercase".</p>
1941+
<code>p</code> element to uppercase".</p>
19411942
</div>
19421943

19431944
<p>The selector <code>p::first-line</code> does not match any real

0 commit comments

Comments
 (0)