W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: pseudo-attributes

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 28 Oct 2008 16:24:26 -0700
Message-ID: <49079F2A.9010704@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org

Tab Atkins Jr. wrote:
> 
> @David Baron:
> The hint action can be done just as well with :empty:not(:focus).  Is 
> there a reasonable use-case that :empty doesn't solve equally well?

:empty checks for descendent nodes in the DOM tree. Given that <input>
is an empty element, wouldn't it /always/ match an unfocused input field?

~fantasai
Received on Tuesday, 28 October 2008 23:25:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT