- From: L. David Baron <dbaron@dbaron.org>
- Date: Mon, 10 Jul 2006 14:18:50 -0700
- To: www-style@w3.org
Received on Monday, 10 July 2006 21:19:00 UTC
On Monday 2006-07-10 14:06 -0700, 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.
No, the "including" refers to "children", not "element".
It could be clearer, but that change would make it worse, not better.
-David
--
L. David Baron <URL: http://dbaron.org/ >
Technical Lead, Layout & CSS, Mozilla Corporation
Received on Monday, 10 July 2006 21:19:00 UTC