W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2012

Re: @page margin- wrong message

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 07 Dec 2012 17:39:40 +0200
Message-ID: <50C20DBC.7040103@cs.tut.fi>
To: Gastón Arimón <garimont@montevideo.com.uy>
CC: www-validator-css@w3.org
2012-12-06 21:39, Gastón Arimón wrote:

> I'm using css-validator and they response:
>     "Propiedad no válida: margin-top. La propiedad margin-top no existen en css versión 3 pero existe en [css1, css2, css21]"
> Hay using this, in the context of @page.

This is bug in the W3C CSS Validator, probably introduced by some recent 
update. It can be reproduced using other margin properties, too, 
including the shorthand, e.g.

@page { margin: 1em; }

causes the incorrect error message:

Value Error : margin Property margin doesn't exist in CSS level 3 but 
exists in [css1, css2, css21] : 1em

In addition to incorrectly claiming the margin properties to be 
nonexistent in CSS3, the start of the error messages oddly varies by 
language. The English text refers to value error, the Spanish text says 
that the property is invalid, the German text says that there is an 
invalid number (Ungültige Nummer), etc.

Received on Friday, 7 December 2012 15:40:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:49 UTC