[OSM-dev] Does MapCSS care of order of style declarations ?
François Lacombe
francois.lacombe at telecom-bretagne.eu
Wed Sep 24 20:48:40 UTC 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20140924/226ecbdf/attachment.html>
More information about the dev
mailing list