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: <>
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"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <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;}
hello </p>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:32 UTC