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

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

From: Stewart Brodie <stewart.brodie@antplc.com>
Date: Wed, 12 Jul 2006 12:37:26 +0100
To: www-style@w3.org
Message-ID: <de63f5bb160e1c4450a439528320bd253e92ab91@localhost>

"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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:25 UTC