Re: pseudo-attributes

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 UTC