W3C home > Mailing lists > Public > www-validator-css@w3.org > April 2002

Re: The standard style sheet doesn't validate any more... :-(

From: Philippe Le Hegaret <plh@w3.org>
Date: 08 Apr 2002 16:31:12 -0400
To: Eric de Hont <eric@dehont.2y.net>
Cc: www-validator-css@w3.org
Message-Id: <1018297872.854.98.camel@jfouffa>
On Sat, 2002-04-06 at 19:07, Eric de Hont wrote:
> When trying to validate the standard style sheet as found on 
> http://www.w3.org/TR/REC-CSS2/sample.html I suddenly run into loads of 
> errors.
> 
> This is very confusing for me...
> 
> http://jigsaw.w3.org/css-validator/validator?uri=http://news.flevoland.to/test/
> 
> Is there a problem on your side? A few days ago this style sheet 
> validated...

I don't know what happen a few days ago, but the validator is right. You
cannot include an @page rule inside a @media rule [1]

URI : http://www.stad-van-de-vrijheid.nl/test/flevostyle.css

    * Line: 87
      Parse Error - @page { margin: 10% }

See also the errata of the CSS 2specification:
http://www.w3.org/Style/css2-updates/REC-CSS2-19980512-errata.html


Philippe
[1] http://www.w3.org/TR/CSS2/grammar.html
Received on Monday, 8 April 2002 16:32:19 GMT

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