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

"Anne van Kesteren" <annevk@opera.com> wrote:

> 
> 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.

Yes, that definition accompanies the section for the pseudo-class.  It's
perfectly clear.  The one line description in the summary in section 2 is
the problem the OP was thinking of, AFAICT.  Maybe the clarification the OP
was looking for would be resolved by appending a comment to the line for
E:empty to refer the reader to the full definition of "empty" in the section
that describes the :empty pseudo (at that part of the spec that link takes
you to)


-- 
Stewart Brodie
Software Engineer
ANT Software Limited

Received on Wednesday, 12 July 2006 11:37:38 UTC