<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
On Mon, 2010-02-22 at 14:21 -0500, Aryeh Gregor wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Okay, I think the requirement for a solution here should be: authors
should not have to worry about their inputs looking bad if they
recolor them without taking placeholders into account. The
placeholder can't just take on the same color as normal user input,
but also can't stay gray when it's now on a black background or
something. (My previous suggestion failed on the latter count.)
The only good way I can see to do this is a new text-opacity property,
which gets multiplied by the opacity given by the color property (or
else replaces it, either way). We could then add a :placeholder
pseudoclass, or a :no-value/:empty-value/whatever pseudo-class, either
way, and use :placeholder { text-opacity: 0.6 }.
But it seems excessive to add a whole new CSS property. Does anyone
have any better ideas? Or do we just require authors who are using
placeholders as well as recoloring their inputs to manually recolor
the placeholders too? I'm not sure if that's reasonable.
</PRE>
</BLOCKQUOTE>
<BR>
I think it's perfectly reasonable if they decide to use colours that differ wildly from the 'norm'. They are used to setting the color value when they set the background-color (although not always the other way around)<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Ash<BR>
<A HREF="http://www.ashleysheridan.co.uk">http://www.ashleysheridan.co.uk</A><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>