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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 17 Aug 2009 15:48:02 +0200
To: Johannes Koch <koch@w3development.de>
Cc: www-style@w3.org
Message-ID: <mqni85513nmuvp3tb9717gdtsvmu0aept7@hive.bjoern.hoehrmann.de>
* 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.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Monday, 17 August 2009 13:48:41 GMT

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