- From: Vincent Quint <Vincent.Quint@inrialpes.fr>
- Date: Fri, 24 Oct 2003 14:06:16 +0200
- To: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
- Cc: www-amaya@w3.org
Barto,
Amaya is wrong. I should rather say it was wrong: this bug was fixed
a few days ago. The fix is available in the CVS base and will be
part of the upcoming realease.
Anyway, good catch.
Vincent.
Bartolomé Sintes Marco wrote:
>
> Hi,
>
> The following html and css code:
> <p class="blue red">Hello</p>
> <p class="red blue">Hello</p>
> p.blue { color: blue; }
> p.red { color: red; }
> is not displayed in Amaya as in Mozilla or Internet Explorer.
> Amaya displaies the first paragraph in red and the second one in blue.
> Mozilla and IE display both paragraphs in red.
>
> If the css rules order is changed:
> p.red { color: red; }
> p.blue { color: blue; }
> Amaya does not change colors, but Mozilla and IE display both
> paragraphs in blue.
>
> Which order is most important? Class names order in html attribute or
> class rules order in css file?
>
> Best regards,
> Barto
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="MSHTML 6.00.2800.1264" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>The following html and css code:</FONT></DIV>
> <DIV><FONT face=Arial size=2> <p class="blue
> red">Hello</p></FONT></DIV>
> <DIV><FONT face=Arial size=2> <p class="red
> blue">Hello</p></FONT></DIV>
> <DIV><FONT face=Arial size=2> p.blue { color: blue;
> }</FONT></DIV>
> <DIV><FONT face=Arial size=2> p.red { color:
> red; }</FONT></DIV>
> <DIV><FONT face=Arial size=2>is not displayed in Amaya as in Mozilla or Internet
> Explorer.</FONT></DIV>
> <DIV><FONT face=Arial size=2>Amaya displaies the first paragraph in red and the
> second one in blue.</FONT></DIV>
> <DIV><FONT face=Arial size=2>Mozilla and IE display both paragraphs in
> red.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>If the css rules order is changed:</FONT></DIV>
> <DIV><FONT face=Arial size=2>
> <DIV><FONT face=Arial size=2> p.red { color:
> red; }</FONT></DIV>
> <DIV>
> <DIV><FONT face=Arial size=2> p.blue { color: blue;
> }</FONT></DIV>
> <DIV>Amaya does not change colors, but Mozilla and IE display both </DIV>
> <DIV>paragraphs in blue.</DIV>
> <DIV> </DIV>
> <DIV>Which order is most important? Class names order in html attribute or</DIV>
> <DIV>class rules order in css file?</DIV>
> <DIV> </DIV>
> <DIV>Best regards,</DIV>
> <DIV>Barto</DIV></DIV></FONT></DIV></BODY></HTML>
>
Received on Friday, 24 October 2003 08:09:51 UTC