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

CSS Validator Bug

From: Kathleen Cavanagh <Kathleen.Cavanagh@Copart.Com>
Date: Fri, 2 Nov 2007 15:49:13 -0700
Message-ID: <636761ABCFF2944A90014703DC461DF802153190@FFCEML001.corp.copart.com>
To: <www-validator-css@w3.org>
Cc: "Kathleen Cavanagh" <Kathleen.Cavanagh@Copart.Com>
I believe I have found a bug in the CSS Validator.  I keep getting an
error when I submit the following code:

 

/* Last modified  KEC 2:51 PM 11/02/2007 */

/* adding print, handheld media information - Print requested to be
portrait, grayscale, remove close line, etc. */

 

/* Payment-Print CSS Document */

 

p {margin:0; padding:0}

..w50 {width:250px}

..w330 {width:330px}

..money {width:75px}

..submit_payment {width:500px;text-align:center}

..footer_left, .footer_right {width:200px}

..footer_center {width:550px}

 

/* @media print, haldheld */

@page {size: portrait; margin: 4%}

div.body, .center, #menuset {width:100%}

#first-tier, #second-tier, .buyer_info_header {visibility: hidden}

..w50 {width: 50%}

..header_bottom_left,.header_bottom_center,.header_bottom_right{width:33%
}

th, .subheader2 {background-color: #000; color: #fff; font-weight: bold}

..page_header_line {width: 100%; border-top-color:#000}

..bottom_nav {visibility: hidden}

 

The error I get is "Value Error: size
<http://www.w3.org/TR/REC-CSS2/page.html#propdef-size>  Property size
doesn't exist: portrait" And the funny thing is that it links back to
your paged media section showing that portrait is a valid property of
size.  This is either a bug with the CSS Validator or I am
confused/misunderstanding the rules.  

 

BTW, I always use your site / references and thank you very much for
providing these resources and tools!

 

 

 

 





image001.jpg
(image/jpeg attachment: image001.jpg)

Received on Saturday, 3 November 2007 14:13:48 GMT

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