Re: Assigning property values question (possible Amay bug)

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>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>The following html and css code:</FONT></DIV>
> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &lt;p class="blue 
> red"&gt;Hello&lt;/p&gt;</FONT></DIV>
> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &lt;p class="red 
> blue"&gt;Hello&lt;/p&gt;</FONT></DIV>
> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; p.blue { color: blue; 
> }</FONT></DIV>
> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; p.red &nbsp;{ color: 
> red;&nbsp;}</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>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp; p.red &nbsp;{ color: 
> red;&nbsp;}</FONT></DIV>
> <DIV>
> <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</DIV>
> <DIV>Which order is most important? Class names order in html attribute or</DIV>
> <DIV>class rules order in css file?</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Best regards,</DIV>
> <DIV>Barto</DIV></DIV></FONT></DIV></BODY></HTML>
> 

Received on Friday, 24 October 2003 08:09:51 UTC