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

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

promote old MapCSS reference file to MapCSSRendererTest checks

File size: 1.2 KB
Line 
1
2/**
3 * 3 Tests: relative symbol-stroke-width, alignment and stacking of stroke & fill for shapes
4 */
5node[test=pentagon1]
6{
7    symbol-shape: pentagon;
8    symbol-size: 50;
9    symbol-stroke-color: gold;
10    symbol-stroke-opacity: 0.9;
11    symbol-stroke-width: 10;
12}
13node[test=pentagon1]::stroke-casing
14{
15    symbol-shape: pentagon;
16    symbol-size: 50;
17    symbol-stroke-color: #ddd;
18    symbol-stroke-opacity: 0.6;
19    symbol-stroke-width: +8;
20    z-index: -10;
21}
22node[test=pentagon1]::fill
23{
24    symbol-shape: pentagon;
25    symbol-size: 50;
26    symbol-fill-color: darkblue;
27    symbol-fill-opacity: 1.0;
28    z-index: -15;
29}
30node[test=pentagon2]
31{
32    symbol-shape: pentagon;
33    symbol-size: 50;
34    symbol-stroke-color: blue;
35    symbol-stroke-opacity: 0.9;
36    symbol-stroke-width: 10;
37}
38node[test=pentagon2]::fill-above
39{
40    symbol-shape: pentagon;
41    symbol-size: 50;
42    symbol-fill-color: white;
43    symbol-fill-opacity: 0.3;
44    z-index: 2;
45}
46node[test=pentagon3]
47{
48    symbol-shape: pentagon;
49    symbol-size: 50;
50    symbol-fill-color: darkgreen;
51}
52node[test=pentagon3]::stroke-above
53{
54    symbol-shape: pentagon;
55    symbol-size: 50;
56    symbol-stroke-color: yellow;
57    symbol-stroke-width: 1.0;
58    z-index: 1;
59}
Note: See TracBrowser for help on using the repository browser.