W3C home > Mailing lists > Public > www-style@w3.org > December 2005

Re: [CSS21] inherit keyword and shorthand properties do not fix problem mentioned in CSS 2 errata

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 13 Dec 2005 13:32:00 +0100
To: David Dorward <david@dorward.me.uk>
Cc: www-style@w3.org
Message-ID: <cpftp1hr6a0c87bj58sn9opiu7c19merd3@hive.bjoern.hoehrmann.de>

* David Dorward wrote:
>The Errata for CSS 2 states:
>
>    Shorthand properties take a list of subproperty values or the
>    value 'inherit'. One cannot mix 'inherit' with other subproperty
>    values as it would not be possible to specify the subproperty to
>    which 'inherit' applied. The definitions of a number of shorthand
>    properties do not enforce this rule: 'border-top', 'border-right',
>    'border-bottom', 'border-left', 'border', 'background', 'font',
>    'list-style', 'cue', and 'outline'.
>
>However, this problem appears to be in the working draft for CSS 2.1
>as well. Perhaps it should be fixed?

See 1.4.2.1, "Such a type does not include the value 'inherit'".
-- 
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, 13 December 2005 12:33:27 GMT

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