W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] Customize HTML5 forms placeholder style

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 18 Feb 2010 17:35:10 -0500
Message-ID: <4B7DC09E.1070808@mit.edu>
On 2/18/10 5:21 PM, Tab Atkins Jr. wrote:
> That doesn't seem like a horrible problem to me.  Most people don't
> set color on inputs

I just checked that claim on a few sites (the first ones that came to 
mind).  Most of these are search fields; the rest are login fields.

These set input colors:
bing.com (but doesn't set background)

These do not:
amazon.com (but does set the background(!))

So all I can conclude is that maybe you're right and maybe not....

> and when they do, it's at least guaranteed that
> the color is *usable* for placeholder, even if it's not ideal.

Right; it might well make it look like the placeholder is actual text in 
the field.

Received on Thursday, 18 February 2010 14:35:10 UTC

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