W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Solving the alpha images and background-color problem

From: Simon Pieters <zcorpan@hotmail.com>
Date: Fri, 04 Aug 2006 01:34:11 +0000
Message-ID: <BAY109-F70CA4B9AB30B978B112CEB4500@phx.gbl>
To: www-style@w3.org
Cc: emrahbaskaya@hesido.com

Hi,

In response to:

   http://lists.w3.org/Archives/Public/www-style/2005Aug/0075.html

I think this is really needed (I find myself having to use opaque images 
because the background color would shine though), but I propose a simpler 
syntax:

   'background-color'
      Value: <color> [ <color> ]?
      Initial: transparent
      Applies to: all elements
      Inherited: no
      Percentages: N/A
      Media: visual
      Computed value: <color> <color>

I'm not sure about the computed value though, perhaps if both are the same 
it should compute to just <color>? Or be as specified?

Proposed new text for [css3-background]:

   This property sets the background color of an element (the first value), 
and the background
   color to be used instead when one or more background images are present 
for that element (the
   second value). When the second value is omitted it is the same as the 
first value. Valid color values
   are defined in the Color Module [CSS3COLOR].

Regards,
Simon Pieters
Received on Friday, 4 August 2006 01:34:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT