On Oct 21, 2011, at 12:26 PM, Elli Vizcaino wrote:

>> View this testcase and compare the 2 boxes:
>> http://dev.l-c-n.com/_temp/translucent-transparent.html

> Just took a loot at the opacity sample. And of course I used, Firebug to 
> inspect code and firebug says that the opacity of 0.5 on the img has been 
> inherited from div.a - this is why I'm confused and unsure then of what 
> inherit means if the opacity is getting applied to it's descendants and yet I 
> am being told it is a property that is 
> not inherited. 

Firebug lies.

Yes, I had to check, and indeed Firebug says that the img in that text case 
inherits the opacity from the div. ::shocked::
Check in WebKit's Web Inspector, or Opera's dragonfly and they tell you a 
different story.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to