Skip to content

Commit 121594e

Browse files
committed
Attempt to deal with undefined terms PI, DOM, CDATA, PCDATA <http://lists.w3.org/Archives/Public/www-style/2009Mar/0148.html> issues 4 and 6
1 parent f98d5be commit 121594e

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

selectors3/Overview.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ <h4><a name=structural-pseudos>6.6.5. Structural pseudo-classes</a></h4>
15401540
the document tree but cannot be represented by other simple selectors or
15411541
combinators.
15421542

1543-
<p>Standalone pieces of PCDATA (text nodes in the DOM) and other non-element
1543+
<p>Standalone text and other non-element
15441544
nodes are not counted when calculating the position of an element in the list
15451545
of children of its parent. When calculating the position of an element in
15461546
the list of children of its parent, the index numbering starts at 1.
@@ -1848,11 +1848,12 @@ <h5><a name=only-of-type-pseudo>:only-of-type pseudo-class</a></h5>
18481848
<h5><a name=empty-pseudo></a>:empty pseudo-class</h5>
18491849

18501850
<p>The <code>:empty</code> pseudo-class represents an element that has
1851-
no children at all. In terms of the DOM, only element nodes and text
1852-
nodes (including CDATA nodes and entity references) whose data has a
1853-
non-zero length must be considered as affecting emptiness; comments,
1854-
PIs, and other nodes must not affect whether an element is considered
1855-
empty or not.</p>
1851+
no children at all. In terms of the document tree, only element nodes and
1852+
content nodes (such as DOM <a href="refsDOM3">[DOM3]</a> text nodes, CDATA
1853+
nodes, and entity references) whose data has a non-zero length must be
1854+
considered as affecting emptiness;
1855+
comments, processing instructions, and other nodes must not affect whether
1856+
an element is considered empty or not.</p>
18561857

18571858
<div class="example">
18581859
<p>Examples:</p>
@@ -2852,6 +2853,10 @@ <h3><a name=informative-references>15.2 Informative References</a></h3>
28522853
<dd>(<code><a href="http://www.w3.org/TR/charmod/">http://www.w3.org/TR/charmod/</a></code>)
28532854
-->
28542855

2856+
<dt>[DOM3]
2857+
<dd><a name="refsDOM3"></a> Arnaud Le Hors, Philppe Le H&eacute;garet, et al., editors; "<cite>Document Object Model (DOM) Level 3 Core Specification</cite">, W3C Recomendation, 07 April 2004
2858+
<dd>(<a href="http://www.w3.org/TR/DOM-Level-3-Core/"><code>http://www.w3.org/TR/DOM-Level-3-Core/</code></a>)
2859+
28552860
<dt>[HTML4]
28562861
<dd><a name="refsHTML4"></a> Dave Raggett, Arnaud Le Hors, Ian Jacobs, editors; "<cite>HTML 4.01 Specification</cite>", W3C Recommendation, 24 December 1999
28572862
<dd>(<a href="http://www.w3.org/TR/html4/"><code>http://www.w3.org/TR/html4/</code></a>)

0 commit comments

Comments
 (0)