W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: Styling HTML placeholder attribute

From: Philip Walton <philip@philipwalton.com>
Date: Thu, 24 Jan 2013 13:53:38 -0800
Message-ID: <CAGRhNhWfu_aMh5ZhG4tNo3aNZ06gBj02h5cgR386sX_AdAk0tw@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT