- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Wed, 29 Oct 2008 10:51:10 +0100
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
fantasai wrote: > 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? Right. The contents of an input field are not visible from the input's owner document object model besides the |value| attribute and there is nothing in the DOM or HTML specs that says a user agent has to do what Gecko does here, ie manage a shadow editable HTML document. </Daniel>
Received on Wednesday, 29 October 2008 09:51:49 UTC