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

Re: [CSS21] background shorthand and inherit value

From: Paul Duffin <pduffin@volantis.com>
Date: Wed, 26 Mar 2008 10:37:05 +0000
Message-ID: <47EA2751.9000701@volantis.com>
To: olivier Thereaux <ot@w3.org>
CC: CSS list <www-style@w3.org>



olivier Thereaux wrote:
> 
> Hello, CSS WG, all
> 
> I hope this is the right forum to ask a question about a CSS 
> implementation.
> 
> We recently received a bug report on the CSS validator:
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=5307
> 
> The bug reporter would like to use the current syntax:
> 
> #frontHeader {
>  background:inherit url(img/banner_two.jpg) no-repeat left bottom;
> }
> 

They could achieve the same effect (assuming that the inherit was 
supposed to be for the background color) using something like:

#frontHeader {
     background: url(img/banner_two.jpg) no-repeat left bottom;
     background-color: inherit;
}
Received on Wednesday, 26 March 2008 10:37:50 GMT

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