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

Paged Media CSS Validation

From: Jack L. Wolfgang II <jackwolfgang@gmail.com>
Date: Thu, 11 Jan 2007 00:58:48 -0500
To: <www-validator-css@w3.org>
Message-ID: <001601c73545$902d4550$02010e0a@WOLFGANG.local>

I ran the following CSS through the validator, and it failed:
 
/* First Christian Church Web Site Print Style Sheet  */
/* by Jack L. Wolfgang II                             */
/* 11 January 2006 A.D.                               */
/* Last Updated:  04 January 2007 A.D.                */

@page          { size:           portrait;
                 marks:          none;
                 margin-top:     1.0in;
                 margin-bottom:  1.0in;
                 margin-left:    1.0in;
                 margin-right:   1.0in                }

@media print {

/* Body Rules                       */

body           { font-family:    times, serif;
                 font-size:      12pt                 }



..ScreenOnly    { display:        none;
                 visibility:     collapse             }

}
/* Print Media Rules                                  */

/* END Style Sheet                                    */

However, the CSS 2 standard
(http://www.w3.org/TR/REC-CSS2/page.html#page-size-prop) states that
portrait is a valid value for the size property and none is a valid value
for the marks property.
 
Sincerely,
Jack L. Wolfgang II
 
Note:  No trees were killed in the sending of this message; however, a
number of electrons were terribly inconvenienced.
Received on Thursday, 11 January 2007 16:01:43 GMT

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