source: josm/trunk/test/data/renderer/way-dashes2/style.mapcss@ 12978

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

promote old MapCSS reference file to MapCSSRendererTest checks

File size: 680 bytes
RevLine 
[12978]1
2/**
3 * Dashes Test
4 * 1. Basic test - pattern should not be broken at way nodes
5 * 2. Transparent and with background color. The foreground and background dashes must not overlap.
6 * 3. Dashes offset - cuts off the first dash segment
7 */
8
9canvas {
10 default-points: false;
11 default-lines: false;
12}
13
14way[test=dash1] {
15 width: 10;
16 color: blue;
17 dashes: 30,4,17,14;
18}
19way[test=dash2] {
20 width: 10;
21 color: blue;
22 opacity: 0.3;
23 dashes: 30,4,17,14;
24 dashes-background-color: gold;
25 dashes-background-opacity: 0.3;
26}
27way[test=dash3] {
28 width: 10;
29 color: blue;
30 dashes: 30,4,17,14;
31 dashes-background-color: gold;
32 dashes-offset:30;
33}
34
Note: See TracBrowser for help on using the repository browser.