W3C home > Mailing lists > Public > www-style@w3.org > June 2008

RE: CSS3 Color: Interaction of opacity and rgba [css3-color]

From: Paul Tykodi <ptykodi@tykodi.com>
Date: Thu, 5 Jun 2008 11:26:20 -0400
To: "'L. David Baron'" <dbaron@dbaron.org>
Cc: "'www-style'" <www-style@w3.org>
Message-ID: <3F346A4E50F142FC9894F927FC5F7D31@TCSLAPTOP01>

Hi David,

I tested your referenced example with Firefox, Opera, and Safari running on
a Windows XP sp3 machine.

Safari 3.1.1 - OK

Firefox <Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14> - top box missing

Opera 9.27 build 8841 - top box missing

When I tried to browse the link with IE 7.0.5730.11, it downloaded the page
and then called Firefox to open it. I imagine this has something to do with
Firefox being declared the default browser on this machine and it may be
declared as the default application for opening xhtml content as well.

Best Regards,

/Paul
--
Paul Tykodi
Principal Consultant
TCS - Tykodi Consulting Services LLC

Tel/Fax: 603-343-1820
Mobile:  603-866-0712
E-mail:  ptykodi@tykodi.com
WWW:     http://www.tykodi.com

> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf
> Of L. David Baron
> Sent: Monday, June 02, 2008 7:57 PM
> To: REFSTRUP,JACOB (HP-Vancouver,ex1)
> Cc: www-style (www-style@w3.org)
> Subject: Re: CSS3 Color: Interaction of opacity and rgba [css3-color]
> 
> 
> On Wednesday 2003-07-23 20:44 -0400, REFSTRUP,JACOB (HP-Vancouver,ex1)
> wrote:
> > I had a question around opacity and rgba and their interaction based on
> the
> > CSS3 Color module. Suppose the following style sheet:
> >
> > span {
> >   color: rgba(100%,0,0,0.5);
> >   opacity: 0.1
> > }
> >
> > Does both "alpha" values apply? I.e. would the text inside a span render
> > with an effective opacity of 0.05 onto its parents element?
> 
> I managed to find this comment despite its lack of the string
> "css3-color" (which is in the spec's URL).
> 
> Both alpha values do apply (but through different mechanisms).
> 
> This is tested in the test suite:
> http://dev.w3.org/CSS/css3-color-test-suite/src/t32-opacity-offscreen-
> with-alpha-c.xhtml
> 
> I don't think any change to the specification is needed.  It
> describes the two features independently, since they are in fact
> independent.
> 
> -David
> 
> --
> L. David Baron                                 http://dbaron.org/
> Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 5 June 2008 15:26:57 GMT

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