W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2002

Amaya 6.4 bug due to a redundant semicolon in CSS file

From: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
Date: Sun, 29 Sep 2002 19:04:44 +0200
Message-ID: <001d01c267da$4f25bd40$70582b3e@athlon>
To: "Lista Amaya" <www-amaya@w3.org>
Hi,

A page with a redundant semicolon in the CSS file is not properly displayed in Amaya 6.4 for Windows 98, because sometimes Amaya aplies the last rule of the previous selector.

Example: In this example, "text" is shown in red. 

XHTML FILE:
<?xml version="1.0" encoding="iso-8859-1"?><!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>
  <title>No title</title>
  <meta name="generator" content="amaya 6.4, see http://www.w3.org/Amaya/" />
  <link href="tmp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Headline</h1>
<p>text</p>
</body>
</html>

CSS FILE:
h1 {text-decoration: underline; color:red; }
p { margin: 25px;; }
Received on Sunday, 29 September 2002 13:03:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:38 UTC