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

Re: Styling HTML placeholder attribute

From: Mounir Lamouri <mounir@lamouri.fr>
Date: Tue, 22 Jan 2013 17:04:16 +0000
Message-ID: <50FEC690.5070606@lamouri.fr>
To: www-style@w3.org
On 22/01/13 14:58, Simon Sapin wrote:
>> FWIW, the current Gecko implementation can be described as follow:
>> - pseudo-element;
>> - restricted set of rules: as '::first-line' + 'opacity';
>> - default style: "opacity: 0.54;" [2].
> 
> The last bit is in the UA stylesheet, isn’t it?

Yes. However, I believe it is quite important because if some UA
stylesheets use color: foo; and some opacity: bar;, authors will have to
write a lot of browser-specific CSS to be able to set their own
placeholder's style. Ideally, a spec should at least recommend something.

--
Mounir
Received on Tuesday, 22 January 2013 17:04:43 GMT

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