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?

Received on Tuesday, 28 October 2008 23:25:17 UTC

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