W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: [CSS 2.1] possible problem with background value definition

From: Johannes Koch <koch@w3development.de>
Date: Mon, 17 Aug 2009 15:50:23 +0200
Message-ID: <4A89601F.6070907@w3development.de>
To: www-style@w3.org
Bjoern Hoehrmann schrieb:
> * Johannes Koch wrote:
>> As the property definitions of background-color, background-image, 
>> background-repeatbackground-attachment, and background-position, all 
>> include inherit, the value inherit would match _both_ the first 
>> alternative ([<'background-color'> || <'background-image'> || 
>> <'background-repeat'> || <'background-attachment'> || 
>> <'background-position'>]) _and_ the second (inherit), and so would not 
>> match the whole value definition, because it requires "exactly one of them".
> 
> See "Such a type does not include the value 'inherit'." in 1.4.2.

Ah, yes, thanks.

-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)
Received on Monday, 17 August 2009 13:51:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:20 GMT