[whatwg] Customize HTML5 forms placeholder style
ash at ashleysheridan.co.uk
Thu Feb 18 14:12:26 PST 2010
On Thu, 2010-02-18 at 17:07 -0500, Boris Zbarsky wrote:
> 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?
I think maybe our terminologies are crossing wires. After looking up the
exact meaning, I think maybe a pseudo element IS preferable over a
pseudo class now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg