source: josm/trunk/test/data/renderer/node-shapes/style.mapcss@ 11840

Last change on this file since 11840 was 11433, checked in by Don-vip, 7 years ago

fix #13999 - New MapCSS test that uses reference images (patch by michael2402)

File size: 1.3 KB
Line 
1canvas {
2 default-points: false;
3 default-lines: false;
4}
5
6node[test] {
7 symbol-stroke-color: red;
8 symbol-stroke-opacity: 1;
9 symbol-fill-color: orange;
10 symbol-fill-opacity: 1;
11
12 symbol-shape: square;
13 symbol-size: 10;
14 symbol-stroke-width: 2;
15}
16
17node[test=circle] {
18 symbol-shape: circle;
19}
20
21node[test=triangle] {
22 symbol-shape: triangle;
23}
24
25node[test=pentagon] {
26 symbol-shape: pentagon;
27}
28
29node[test=hexagon] {
30 symbol-shape: circle;
31}
32
33node[test=heptagon] {
34 symbol-shape: triangle;
35}
36
37node[test=octagon] {
38 symbol-shape: pentagon;
39}
40
41node[test=nonagon] {
42 symbol-shape: circle;
43}
44
45node[test=decagon] {
46 symbol-shape: triangle;
47}
48
49node[test=fill-color] {
50 symbol-fill-color: green;
51}
52
53node[test=fill-color-none] {
54 symbol-fill-color: none;
55}
56
57node[test=fill-opacity] {
58 symbol-fill-opacity: .5;
59}
60
61node[test=stroke-color] {
62 symbol-stroke-color: green;
63}
64
65node[test=stroke-color-none] {
66 symbol-stroke-color: none;
67}
68
69node[test=stroke-opacity] {
70 symbol-stroke-opacity: .5;
71}
72
73node[test=small] {
74 symbol-size: 3;
75 symbol-stroke-width: 1;
76}
77
78node[test=big] {
79 symbol-size: 20;
80}
81
82node[test=thin] {
83 symbol-stroke-width: .5;
84}
85
86node[test=bold] {
87 symbol-stroke-width: 4;
88}
89
90node[defaults=fill] {
91 /* other values are defaults. */
92 symbol-shape: square;
93 symbol-fill-color: red;
94}
95
96node[defaults=stroke] {
97 symbol-shape: square;
98 symbol-stroke-color: red;
99}
Note: See TracBrowser for help on using the repository browser.