W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Placeholder option for text input boxes

From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
Date: Sun, 05 Oct 2008 19:09:11 +0200
Message-ID: <1223226551.11433.32.camel@dell.linuxdev.us.dell.com>
Am Samstag, den 04.10.2008, 09:30 -0500 schrieb Tab Atkins Jr.:

> If you mean pseudo-element, then certainly.  That would be precisely
> how I would go about pushing this into CSS.  You'd have a ::hint
> pseudoelement with a content property.  Browser stylesheets would
> default it to the value of the parent's @hint attribute.

Like "input:hint { content: attr(placeholder); }" ?

Cheers,

Nils
Received on Sunday, 5 October 2008 10:09:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:44 UTC