source: josm/trunk/test/data/renderer/way-repeat-image/style.mapcss @ 12447

Last change on this file since 12447 was 12447, checked in by bastiK, 4 years ago

new test case for MapCSSRendererTest (repeat-image, see #14926)

File size: 1021 bytes
Line 
1way[test=r1] {
2    color: darkblue;
3    width: 8;
4    repeat-image: "presets/barrier/city_wall.svg";
5    repeat-image-height: 40;
6    repeat-image-align: bottom;
7    repeat-image-offset: 4;
8    repeat-image-phase: -15;
9}
10
11way[test=r2] {
12    color: gray;
13    width: 18;
14    linecap: square;
15    repeat-image: "presets/barrier/guard_rail.svg";
16    repeat-image-height: 16;
17    repeat-image-align: bottom;
18    repeat-image-offset: 9;
19}
20
21way[test=r2]::dashes {
22    major-z-index: 10;
23    repeat-image: "presets/misc/no_icon.svg";
24    repeat-image-width: 16;
25    repeat-image-height: 4;
26    repeat-image-spacing: 12;
27}
28
29way[test=r3] {
30    color: maroon;
31    width: 8;
32    linecap: none;
33    repeat-image: "trees.svg";
34    repeat-image-height: 23;
35    repeat-image-align: bottom;
36    repeat-image-offset: 6;
37    repeat-image-spacing: 8;
38}
39
40way[test=r3]::bottom {
41    repeat-image: "trees-upside_down.svg";
42    repeat-image-height: 23;
43    repeat-image-align: top;
44    repeat-image-offset: -6;
45    repeat-image-spacing: 15;
46}
47
48
Note: See TracBrowser for help on using the repository browser.