W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: UA's implementation of ::selection

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 15 May 2010 00:10:37 -0400
Message-ID: <4BEE1EBD.7040904@mit.edu>
To: David Hyatt <hyatt@apple.com>
CC: François REMY <fremycompany_pub@yahoo.fr>, www-style@w3.org
On 5/15/10 12:04 AM, David Hyatt wrote:
> The chosen colors for selection in the absence of any specified pseudo element come from the platform.  We have both active and inactive foreground and background colors (so 4 total possible different colors).  If the pseudo element specifies only a background color and not a foreground color, we'll use the platform foreground color (and vice versa).  Any specified selection colors in the pseudo element will be used in both the active and inactive states.

That doesn't really explain the behavior I see with "background: none" 
vs "background: transparent"... (which should give equivalent specified 
values, note).

-Boris
Received on Saturday, 15 May 2010 04:27:13 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:46 UTC