W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: Styling HTML placeholder attribute

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 24 Jan 2013 21:41:05 +0100
To: Philip Walton <philip@philipwalton.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <7s63g81j65uplermik4giig9h46lvgrduj@hive.bjoern.hoehrmann.de>
* 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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT