#15635 closed defect (invalid)
Undocumented MapCSS operator
| Reported by: | frodrigo | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | Cc: |
Description
addresses.mapcss and combinations.mapcss validator contains the undocumented "=*" predicate operator.
The "*=" is in wiki, but nor in mapccs validator code.
See: https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation#condition_selector_operators
Attachments (0)
Change History (6)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Not sure. But the on the wiki there is the operator "*=" (star then equal), the mapCss code use "=*" (equal then star). If it's the same operator I think wiki is right and mapCCS files + JOSM are wrong. Shoul be confirmed by other MapCSS implementation.
(I'm writing a mapCSS parser)
comment:3 by , 8 years ago
No, these are two different things:
*=is substring match like explained in the table you linked=*or= *means that the following is not the value but another key. This is explained below the table.
follow-up: 6 comment:4 by , 8 years ago
Ho Ok. Sorry I miss this point.
(BTW I found another undocumented feature, but it's obvious, >:pseudo_class is not in the wiki)
comment:5 by , 8 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:6 by , 8 years ago
Replying to frodrigo:
(BTW I found another undocumented feature, but it's obvious, >:pseudo_class is not in the wiki)
Thats a combination of the child selector and a pseudo class. I don't think this needs extra documentation as both are explained. (There is also already one example of this combination: relation:unclosed_multipolygon >:open_end node)



I don't really understand what should be changed or added and where. Could you please explain it in more detail?