W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

[whatwg] Should editable elements have placeholder attribute?

From: Aryeh Gregor <ayg@aryeh.name>
Date: Wed, 2 May 2012 09:09:33 +0300
Message-ID: <CAKA+AxnzyNr5iZdJxcRVyy9EG=bCMERvXhay--xgxjS3cwBfHA@mail.gmail.com>
On Wed, May 2, 2012 at 8:00 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> Hi,
>
> Would it be useful to have placeholder content attribute on elements that
> are editable? (i.e. contenteditable=true).
>
> According to the original WebKit bug
> 21286<https://bugs.webkit.org/show_bug.cgi?id=21286>,
> this may reduce the amount of code authors have to write.

This sounds like a good idea to me.
Received on Tuesday, 1 May 2012 23:09:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT