Re: Styling HTML placeholder attribute

* Philip Walton wrote:
>Obviously it would be terribly confusing, but has the option of both
>pseudo-class and pseudo-element been discussed?
>
>`input:placeholder` would be used to describe an input element whose
>placeholder is visible and `input::placeholder` would be used to style the
>placeholder.

I note in passing that the identifier `placeholder` does not have to be
used in any selector at all, the Working Group is free to call them e.g.
`:unedited` and `::hint-text` if it wanted to.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Thursday, 24 January 2013 20:41:32 UTC