<div class="gmail_quote">On Mon, Nov 17, 2008 at 2:05 AM, Ian Hickson <span dir="ltr"><ian@hixie.ch></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tue, 30 Sep 2008, Andy Lyttle wrote:<br>
><br>
> As I understand it, it was sort of an accident that Safari supports<br>
> placeholder on anything other than search fields, but there's no reason<br>
> it shouldn't apply to all text input fields including textarea.<br>
><br>
> I've just filed <a href="https://bugs.webkit.org/show_bug.cgi?id=21248" target="_blank">https://bugs.webkit.org/show_bug.cgi?id=21248</a><br>
<br>
I've made it (in the spec) apply to types text, email, url, and password.<br></blockquote><div><br></div><div>This is a useful property on any text input element. Seems like it should apply to textareas as well as contentEditable elements and iframes with designMode on. I can point to real-world examples of the latter if need be. I think it's acceptable that it be a plain-text string in all cases, but that it ought to also be CSS styleable. I don't know if html5 is the right place to spec that. WebKit currently uses the input::-webkit-input-placeholder.<br>
 </div><div><br></div><div>Ojan</div></div>