[whatwg] Customize HTML5 forms placeholder style

Boris Zbarsky bzbarsky at MIT.EDU
Thu Feb 18 14:07:11 PST 2010


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?

-Boris



More information about the whatwg mailing list