W3C home > Mailing lists > Public > www-validator-css@w3.org > May 2001

CSS Validator broken?

From: Phil Barker <philb@icbl.hw.ac.uk>
Date: Thu, 10 May 2001 14:24:31 +0100
Message-ID: <3AFA968F.82E29FBE@icbl.hw.ac.uk>
To: www-validator-css@w3.org
Hello,
I've just been shocked by the number of errors a previously validated
style sheet now throws up.  After a while I tried validating

P { font-size: 12pt; }
BLOCKQUOTE { font-size: larger }
EM { font-size: 150% }
EM { font-size: 1.5em }

using http://jigsaw.w3.org/css-validator/validator-text.html
(Normal report, no special profile, Medium: all)

and got 

     URI : file://localhost/TextArea 
     Line: 1 Context : P Invalid number : font-size 
          Unknown dimension : 12pt 
     Line: 3 Context : EM Invalid number : font-size 
          only 0 can be a length. You must put an unit after your number : 150 
     Line: 3 Context : EM 
          Parse Error - 150% } 
     Line: 4 Context : EM Invalid number : font-size 
          Unknown dimension : 1.5em 

Surely something's wrong here?

Phil

-- 
Phil Barker                    Learning Technology Advisor
     ICBL, Heriot-Watt University, Edinburgh, EH14 4AS
     Tel: 0131 451 3278    Fax: 0131 451 3283
     web: http://www.icbl.hw.ac.uk/~philb/
Received on Thursday, 10 May 2001 09:23:19 GMT

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