Hi,

Can someone explain me how style declarations order influences render of
MapCSS ?

According to the following styles, sel_important is a selector containing
both selA and selB entities :

selA {
  color:#000000;
}

sel_important {
  color:#0000FF !important;
}

selB {
   color:#FF0000;
}

Only entities selected by selA will be shown in blue *in JOSM*.
The only reason I found is because sel_important declaration is bellow selA
style.

Prior to open a ticket on JOSM trac, is that a correct behaviour according
to standard ?
I expected to see both selA and selB in blue due to !important rule usage.


Thanks in advance for any answer.


*François Lacombe*

francois dot lacombe At telecom-bretagne dot eu
http://www.infos-reseaux.com
_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to