<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>Can someone explain me how style declarations order influences render of MapCSS ?<br><br></div>According to the following styles, sel_important is a selector containing both selA and selB entities :<br><br></div>selA {<br></div>  color:#000000;<br>}<br><br></div>sel_important {<br></div>  color:#0000FF !important;<br>}<br><br></div>selB {<br></div>   color:#FF0000;<br>}<br><br></div>Only entities selected by selA will be shown in blue <b>in JOSM</b>.<br></div>The only reason I found is because sel_important declaration is bellow selA style.<br><div><div><br></div><div>Prior to open a ticket on JOSM trac, is that a correct behaviour according to standard ?<br></div><div>I expected to see both selA and selB in blue due to !important rule usage.<br></div><div><br><br></div><div>Thanks in advance for any answer.<br></div><div><br><div><div><div><div><div><div><div><div><br clear="all"><div><div><b>François Lacombe</b><br><br>francois dot lacombe At telecom-bretagne dot eu<br><a href="http://www.infos-reseaux.com" target="_blank">http://www.infos-reseaux.com</a><br></div>
</div></div></div></div></div></div></div></div></div></div></div></div>