W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

font shorthand syntax error

From: Ray Foulkes <Ray.Foulkes@attglobal.net>
Date: Tue, 01 Mar 2005 13:11:17 +0100
Message-Id: <6.2.1.2.2.20050301125933.020832a8@pop3.attglobal.net>
To: www-amaya@w3.org
Sigh, I know this is probably trivial but I would be obliged for a little help if it is not an Amaya bug.
On Amaya 9.1 I get lots of parsing errors for my CSS for every shorthand "font". I have stripped the problem down as follows to get the minimum characters for this list.
The xhtml below passes the W3C validator, but when I open it with Amaya and I do menu "file" "show parsing errors" I get:

            line 11: Invalid font-size value "200% Arial,"

It looks fine to me and the W3C validator claims that it is OK too.
Am I alone? Here is the XHTML. I have tried to comment it to avoid emailer problems:
/*
<!-- xhtml to cut follows:
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <meta http-equiv="Content-Type" content="text/html;
         charset=iso-8859-1" />
   <title>Amaya test</title>
  <style type="text/css">
     td#title {vertical-align: bottom; color: #442200;
         background: transparent url(big.gif) top left;
         font: bold 200% Arial, Helvetica, Verdana, sans-serif;}
 </style>
</head>
<body>
<p>
hello </p>
</body>                         
</html>                         

cut to above -->
*/ 
Received on Tuesday, 1 March 2005 12:13:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC