W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2004

Amaya 8.7-pre WinXP bug: using text color as border-color

From: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
Date: Tue, 19 Oct 2004 10:32:21 +0200
Message-ID: <000501c4b5b6$27292620$b7edca51@goofy>
To: <www-amaya@w3.org>

Hi,

I have created the following xhtml document using Amaya 8.7-pre for Windows
XP:

<!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">
<head>
  <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
  <title>Test</title>
  <style type="text/css">
    .test {color: red; border: color 5px solid;}
  </style>
  <meta name="generator"
    content="amaya 8.7-pre, see http://www.w3.org/Amaya/" />
</head>

  <body>
    <p class="test">This is a test</p>
  </body>
</html>

The "test" class defines the text color and a border, but instead of using a
color name I have written "color" as border-color. The "show parsinng error"
window states that there is an error in the file : Invalid color value
"color", but Amaya displays the border using the text color as border-color.
Neither Mozilla nor Internet Explorer display this border.

This bug is also present in Amaya 8.5.

Best regards,
Barto
Received on Tuesday, 19 October 2004 08:32:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:38 GMT