Opened 2 months ago
Last modified 4 weeks ago
#24793 closed enhancement
Boundaries of SVG support — at Initial Version
| Reported by: | Kilkenni | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 26.07 |
| Component: | Core | Version: | |
| Keywords: | svg | Cc: |
Description
While working on some icons, I've found that certain SVG features do not display properly in JOSM. Specifically, the paint-order directive in MDN is ignored.
Afaik, it is a part of the SVG2 standard, but it's quite established at this point and has been supported by modern browsers for 5+ years. Is this a problem with the SVG engine in JOSM?
If it is, it would be useful to mention this in JOSM wiki (for example, here https://josm.openstreetmap.de/wiki/Styles#Icons), pointing out that SVG2 icons are not supported.



Example of an icon using paint-order directive in its SVG. Other icons nearby do not use paint-order.