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

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 UTC