Re: Styling HTML placeholder attribute

On Thu, Jan 24, 2013 at 1:07 PM, Alan Stearns <stearns@adobe.com> wrote:

> This seems the most reasonable approach to me (based on what I've
> understood in this thread so far).
>
> Have an :unedited pseudo-class representing the state of the input
> element, with a ::suggestion pseudo-element that represents the contents
> of the element in that state. I'll add this option to the wiki.
>

Since the `:empty` pseudo-class is already taken, I'd suggest `:blank`.
"Blank is good because it can describe state both before and after editing
(sometimes editing means deleting everything).

Received on Thursday, 24 January 2013 21:54:05 UTC