Modify ↓
#12267 closed defect (fixed)
match=0 is not working in MapCSS style, but match="0" is
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.01 |
Component: | Core | Version: | tested |
Keywords: | mapcss | Cc: | naoliv, Dakon |
Description
https://github.com/rurseekatze/OpenRailwayMap/blob/master/styles/electrified.mapcss
The tram lines e.g. in Hanover should be pink, but are green. Compare to the online rendering: http://www.openrailwaymap.org/canvas.php?lang=de&lat=52.33390498132421&lon=9.691349565982819&zoom=18&style=electrified
Attachments (0)
Change History (5)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
Cc: | naoliv added |
---|---|
Keywords: | mapcss added |
I am not the one who reported it, but a small test:
Have some object with foo=0
and validate with this:
*[foo=0] { throwWarning: tr("foo"); }
Note how no warning appear.
Now change foo=0
to foo="0"
and validate it again.
comment:3 Changed 7 years ago by
Cc: | Dakon added |
---|
comment:5 Changed 7 years ago by
Milestone: | → 16.01 |
---|
Note: See
TracTickets for help on using
tickets.
Are you relating to
[frequency=0]
in the linked MapCSS file?