Re: [CSS21] background shorthand and inherit value

* olivier Thereaux wrote:
>http://www.w3.org/Bugs/Public/show_bug.cgi?id=5307

>#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