Opened 12 years ago
Last modified 12 years ago
#10059 closed enhancement
MapCSS: Child selector — at Initial Version
| Reported by: | plepe | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 14.05 |
| Component: | Core mappaint | Version: | |
| Keywords: | mapcss child | Cc: |
Description
According to the MapCSS specification http://wiki.openstreetmap.org/wiki/MapCSS/0.2, the child selector has the form:
relation[type=route] way[highway]
JOSM uses another form:
relation[type=route] > way[highway]
I think the second form is actually superior, as you can add conditions on the link (e.g. role). (Note: According to the MapCSS specification the condition would be on the child selector).
Maybe it would advisable to support the basic MapCSS selectors too? Or work on a new MapCSS 0.3 version instead, which uses JOSM style selectors?


