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

[css3-multicol] Mention somewhere that 'inherit' is a valid keyword

From: Bert Bos <bert@w3.org>
Date: Tue, 15 Dec 2009 17:52:21 +0100
To: W3C style mailing list <www-style@w3.org>
Message-Id: <200912151752.21480.bert@w3.org>
A minor issue for the next update of the spec: 

Nowhere in the spec does it say that the properties accept 'inherit' as 
a value, but we know they do. A few lines on how to read the grammar 
might be useful to avoid mistakes. E.g., something like the following 
(adapted from section 2 of Backgrounds and Borders[1]).

    Values

    This specification follows the CSS property definition
    conventions[2] from [CSS21].

    <color>, <integer> and <length> are defined in CSS Level 2
    Revision 1 [CSS21].

    All properties defined in this specification also accept the
    inherit[3] keyword as their value, but for readability it has not
    been listed explicitly.


[1] http://www.w3.org/TR/2009/WD-css3-background-20091015/#values
[2] http://www.w3.org/TR/CSS21/about.html#property-defs
[3] http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Tuesday, 15 December 2009 16:52:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT