W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2007

Re: Value Error : display compact is not a display value : compact

From: olivier Thereaux <ot@w3.org>
Date: Mon, 12 Mar 2007 13:16:07 +0900
Message-Id: <79342C7C-A2D9-4402-AA0A-C7C6497F6CE9@w3.org>
Cc: www-validator-css@w3.org
To: Dirk Zimoch <dirk.zimoch@psi.ch>

Hi Dirk,

On Mar 9, 2007, at 01:36 , Dirk Zimoch wrote:
> The CSS validator complains about:
>
> @media print {
> ..printlayout {display:compact;}
> }
>
> It gives the error:
> Value Error : display compact is not a display value : compact
>
> But http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-display  
> states that compact is a valid value for the display property:

The CSS validator uses CSS 2.1 by default.
http://www.w3.org/TR/CSS21/changes.html#q12

If you wish to validate as CSS2, you can do it through the "More  
Options" menu.

Regards,
-- 
olivier
Received on Monday, 12 March 2007 04:16:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:19 GMT