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:07:11 -0500
Message-ID: <4B7DBA0F.6030800@mit.edu>
On 2/18/10 4:54 PM, Ashley Sheridan wrote:
> What about a new selector for these sorts of elements?

The topic of this thread is what form this selector should take and how 
it should work.

> To me it seems logical that you
> shouldn't be using pseudo elements

Why?  If what you're trying to style is the placeholder _text_, then it 
needs to be a pseudo-element.  If the goal is to style inputs that are 
showing a placeholder, then it needs to be a pseudo-class.  What's the goal?

Received on Thursday, 18 February 2010 14:07:11 UTC

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