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

Re: [CSS21] background shorthand and inherit value

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 25 Mar 2008 18:10:53 +0100
To: olivier Thereaux <ot@w3.org>
Cc: CSS list <www-style@w3.org>
Message-ID: <pdciu3lemk7stv09fuglpm4qeab7j2udsa@hive.bjoern.hoehrmann.de>

* olivier Thereaux wrote:

>#frontHeader {
>  background:inherit url(img/banner_two.jpg) no-repeat left bottom;

>Which can be interpreted as "shorthand for a number of the background  
>properties" OR inherit, alone. But since each of the individual  
>properties can themselves have "inherit" as value, I suppose the CSS  
>block quoted above is fine?

See <http://www.w3.org/TR/CSS21/about.html#value-defs>, "Such a type
does not include the value 'inherit'", precisely to avoid any ambigu-
ity. So the above is invalid.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 25 March 2008 17:11:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:35 UTC