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

Re: Opacities

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 16 May 2004 20:40:19 +0000 (UTC)
To: Ernest Cline <ernestcline@mindspring.com>
Cc: Richard York <richy@smilingsouls.net>, www-style@w3.org
Message-ID: <Pine.LNX.4.58.0405162031250.8595@dhalsim.dreamhost.com>

On Sun, 16 May 2004, Ernest Cline wrote:
>
> Support for the JPG2000 format should be widespread well before support
> for CSS background/forground opacity properties could be widespread.

I don't know about that...


> In any case there will exist a CSS hack to do this once the Generated
> Content module enters the CR stage.
>
> #foo::outside {
>   display:block;
>   background-image:url(bar.jpg);
>   opacity:0.8;
> }

That wouldn't work because the 'opacity' property applies to the entire
stacking context, which would include the #foo element.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 16 May 2004 16:40:20 GMT

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