Opened 9 years ago
Last modified 9 years ago
#13477 closed defect
mapcss area selector matches open lines — at Initial Version
| Reported by: | francois.lacombe | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core mappaint | Version: | |
| Keywords: | mapcss, area, fill | Cc: |
Description
Hi,
It seems that the mapcss area type selector matches non closed lines on JOSM.
Use this simple piece of mapcss :
area[test="ok"]{
fill-color:"#31A500";
text-color:"#00DE00";
}
and draw a line with test=ok and the space between its nodes is filled.
That doesn't sounds right against the definition given here : http://wiki.openstreetmap.org/wiki/MapCSS/0.2#Types
Am I wrong ?
Note:
See TracTickets
for help on using tickets.


