#10059 closed enhancement (fixed)
MapCSS: Child selector
Reported by: | plepe | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.05 |
Component: | Core mappaint | Version: | |
Keywords: | mapcss child | Cc: |
Description (last modified by )
According to the MapCSS specification osmwiki: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?
Attachments (0)
Change History (5)
comment:1 by , 11 years ago
Component: | Core → Core mappaint |
---|---|
Type: | defect → enhancement |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Description: | modified (diff) |
---|---|
Keywords: | mapcss child added |
comment:5 by , 11 years ago
Milestone: | → 14.05 |
---|
Yes, it would be nice to support this syntax as it is part of the standard and supported by many implementations.
(However I have no plans to work on it myself, at the moment.)