[whatwg] Should editable elements have placeholder attribute?

Aryeh Gregor ayg at aryeh.name
Tue May 1 23:09:33 PDT 2012


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.



More information about the whatwg mailing list