|
Last change
on this file since 12349 was 11693, checked in by michael2402, 9 years ago |
|
Add new MapCSS reference test for way dashes/color and node texts.
|
|
File size:
476 bytes
|
| Line | |
|---|
| 1 | canvas {
|
|---|
| 2 | default-points: false;
|
|---|
| 3 | default-lines: false;
|
|---|
| 4 | }
|
|---|
| 5 |
|
|---|
| 6 | way[test] {
|
|---|
| 7 | width: 10;
|
|---|
| 8 | color: red;
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | way[test=style5] {
|
|---|
| 12 | dashes: 3,3,10,3;
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 | way[test=style4] {
|
|---|
| 16 | dashes: 0.2,5;
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | way[test=style3] {
|
|---|
| 20 | color: blue;
|
|---|
| 21 | dashes: list(12, 2);
|
|---|
| 22 | dashes-offset: 1;
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | way[test=style2] {
|
|---|
| 26 | dashes: list(8, 4);
|
|---|
| 27 | dashes-offset: 1;
|
|---|
| 28 | dashes-background-color: green;
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | way[test=style1] {
|
|---|
| 32 | dashes: 8, 4;
|
|---|
| 33 | dashes-offset: 1;
|
|---|
| 34 | dashes-background-color: green;
|
|---|
| 35 | dashes-background-opacity: .5;
|
|---|
| 36 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.