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

Amaya 7.2 bug: properties and selectors

From: Frederic Bes <Frederic.Bes@inrialpes.fr>
Date: Wed, 12 Feb 2003 16:04:00 +0100
Message-ID: <3E4A6260.6060202@inrialpes.fr>
To: www-amaya@w3.org

Hi,

Following the selector used to express a property, the result can be 
different when this property is define twice or more (strange use, but ...).
The first behavior of the following examples seems to be the good one.

Examples :
--------
h2 {
	color: blue;
	color: red;
	color: green;
}

==> h2 will appear in green color
Same result is observed with the following selectors:
	p h2
	p > h2

whereas with this code :
----------------------

.myclass h2 {
	color: blue;
	color: red;
	color: green;
}

==> h2 will appear in blue color

Same result is observed with the following selectors:
	p.myclass h2
	p.myclass > h2


(I have observed the same behavior with others property like 'border' 
for instance)


Best regards,

Frederic Bes.
-- 

Frederic.Bes@inrialpes.fr
INRIA Rhone-Alpes - Equipe WAM | ZIRST - 655 avenue de l'Europe
B207 - Tel: +33 04.76.61.54.13 | Montbonnot - 38334 ST ISMIER CEDEX
Received on Wednesday, 12 February 2003 10:06:33 UTC

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