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

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

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Mon, 10 Jul 2006 22:15:09 +0100
Message-ID: <44B2C35D.2090106@splintered.co.uk>
To: www-style@w3.org

Garrett Smith wrote:
> http://www.w3.org/TR/css3-selectors/
> E:empty  - an E element that has no children (including text nodes)
> If you really want to include text nodes, the definition must be changed.
 > E:empty  - a node E that has no children (including text nodes).
 > The error is that text nodes are not elements nodes. e.g. a text node
 > cannot be element E because a text node is not an element.

But, unless I'm mistaken, it's not the intention here to include text 
nodes in the :empty definition. The "including text nodes" refers to the 
"children", not the "E element". So there really isn't any error here.

Patrick H. Lauke
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
Web Standards Project (WaSP) Accessibility Task Force
Received on Monday, 10 July 2006 21:15:14 UTC

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