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

[whatwg] Should editable elements have placeholder attribute?

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Tue, 1 May 2012 22:00:13 -0700
Message-ID: <CABNRm62QU0c069m_xyQ2KKY9smCHN=UbhoTqtJeUivL2_OmfqA@mail.gmail.com>

Would it be useful to have placeholder content attribute on elements that
are editable? (i.e. contenteditable=true).

According to the original WebKit bug
this may reduce the amount of code authors have to write.

Ryosuke Niwa
Software Engineer
Google Inc.
Received on Tuesday, 1 May 2012 22:00:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:41 UTC