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

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

So it's actually defined like that in ...

# 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

Received on Tuesday, 11 July 2006 20:39:44 UTC