Last change
on this file was 11698, checked in by michael2402, 8 years ago |
Add test that tests if elements are ordered correctly.
|
File size:
1.1 KB
|
Line | |
---|
1 | canvas {
|
---|
2 | default-points: true;
|
---|
3 | default-lines: false;
|
---|
4 | }
|
---|
5 |
|
---|
6 | way[color=A] {
|
---|
7 | color: blue;
|
---|
8 | fill-color: blue;
|
---|
9 | width: 5;
|
---|
10 | }
|
---|
11 |
|
---|
12 | way[color=B] {
|
---|
13 | color: green;
|
---|
14 | fill-color: green;
|
---|
15 | width: 5;
|
---|
16 | }
|
---|
17 |
|
---|
18 | way[color=A]:selected {
|
---|
19 | }
|
---|
20 |
|
---|
21 | way[color=B]:selected {
|
---|
22 | }
|
---|
23 |
|
---|
24 | node[color=EndNode] {
|
---|
25 | symbol-shape: circle;
|
---|
26 | symbol-size: 2;
|
---|
27 | symbol-fill-color: yellow;
|
---|
28 | }
|
---|
29 |
|
---|
30 | node[color=N] {
|
---|
31 | symbol-shape: circle;
|
---|
32 | symbol-size: 20;
|
---|
33 | symbol-fill-color: blue;
|
---|
34 | major-z-index: 4.1;
|
---|
35 | }
|
---|
36 |
|
---|
37 | way[z-index] {
|
---|
38 | z-index: eval(tag("z-index"));
|
---|
39 | }
|
---|
40 |
|
---|
41 | way[test=object-z-index-1] {
|
---|
42 | object-z-index: 10.000;
|
---|
43 | }
|
---|
44 |
|
---|
45 | way[test=object-z-index-1]::B {
|
---|
46 | object-z-index: 9.999;
|
---|
47 | color: yellow;
|
---|
48 | width: 5;
|
---|
49 | }
|
---|
50 |
|
---|
51 | way[test=object-z-index-1b] {
|
---|
52 | object-z-index: 9.999;
|
---|
53 | }
|
---|
54 |
|
---|
55 | way[test=object-z-index-1b]::B {
|
---|
56 | object-z-index: 10.000;
|
---|
57 | color: yellow;
|
---|
58 | width: 5;
|
---|
59 | }
|
---|
60 |
|
---|
61 | way[test=object-z-index-2] {
|
---|
62 | object-z-index: 0.00;
|
---|
63 | }
|
---|
64 |
|
---|
65 | way[test=object-z-index-2]::B {
|
---|
66 | object-z-index: 0.01;
|
---|
67 | color: yellow;
|
---|
68 | width: 5;
|
---|
69 | }
|
---|
70 |
|
---|
71 | way[test=object-z-index-2b] {
|
---|
72 | object-z-index: 0.02;
|
---|
73 | }
|
---|
74 |
|
---|
75 | way[test=object-z-index-2b]::B {
|
---|
76 | object-z-index: 0.01;
|
---|
77 | color: yellow;
|
---|
78 | width: 5;
|
---|
79 | }
|
---|
80 |
|
---|
81 | way[major-z-index] {
|
---|
82 | major-z-index: eval(tag("major-z-index"));
|
---|
83 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.