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

Re: [CSS 3 Selectors] :empty -- Definition Error

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Mon, 10 Jul 2006 22:15:09 +0100
Message-ID: <44B2C35D.2090106@splintered.co.uk>
To: www-style@w3.org

Garrett Smith wrote:
> 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.


But, unless I'm mistaken, it's not the intention here to include text 
nodes in the :empty definition. The "including text nodes" refers to the 
"children", not the "E element". So there really isn't any error here.

P
-- 
Patrick H. Lauke
__________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__________________________________________________________
Received on Monday, 10 July 2006 21:15:14 GMT

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