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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 11 Jul 2006 22:39:01 +0200
To: www-style@w3.org
Message-ID: <op.tcjkzbxa64w2qv@id-c0020.www.planet.nl>

On Tue, 11 Jul 2006 18:43:49 +0200, Stewart Brodie  
<stewart.brodie@antplc.com> wrote:
> [...] or use a DOM method to describe it:

So it's actually defined like that in  
http://www.w3.org/TR/css3-selectors/#empty-pseudo ...

# In terms of the DOM, only element nodes and text nodes
# (including CDATA nodes and entity references) whose data
# has a non-zero length must be considered as affecting
# emptiness; comments, PIs, and other nodes must not affect
# whether an element is considered empty or not.

Seems quite clear to me.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 11 July 2006 20:39:44 GMT

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