W3C home > Mailing lists > Public > www-style@w3.org > July 2006

[CSS 3 Selectors] :empty -- Definition Error

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 10 Jul 2006 14:06:08 -0700
Message-ID: <c9e12660607101406u1314b46fg1dd3a49d61b40067@mail.gmail.com>
To: www-style@w3.org
http://www.w3.org/TR/css3-selectors/

E:empty  - an E element that has no children (including text nodes)

If you really want to include text nodes, the definition must be changed.

E:empty  - a node E that has no children (including text nodes).

The error is that text nodes are not elements nodes. e.g. a text node cannot
be element E because a text node is not an element.

Garrett

-- 
http://dhtmlkitchen.com/
Received on Monday, 10 July 2006 21:06:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT