source: josm/trunk/test/data/renderer/node-text2/style.mapcss@ 14491

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

promote old MapCSS reference file to MapCSSRendererTest checks

File size: 1.3 KB
Line 
1
2/**
3 * Text placement test
4 */
5node[test=text-placement]::* {
6 font-size: 10;
7 text: auto;
8 symbol-shape: square;
9 symbol-size: 50;
10 symbol-fill-opacity: 0.0;
11}
12node[test=text-placement]::above_center {
13 text-anchor-vertical: above;
14 text-anchor-horizontal: center;
15 text-color: gold;
16}
17node[test=text-placement]::top_left {
18 text-anchor-vertical: top;
19 text-anchor-horizontal: left;
20 text-color: yellow;
21}
22node[test=text-placement]::top_right {
23 text-anchor-vertical: top;
24 text-anchor-horizontal: right;
25 text-color: green;
26}
27node[test=text-placement]::center_center {
28 text-anchor-vertical: center;
29 text-anchor-horizontal: center;
30 text-color: white;
31}
32node[test=text-placement]::center_right {
33 text-anchor-vertical: center;
34 text-anchor-horizontal: right;
35 text-color: magenta;
36}
37node[test=text-placement]::bottom_left {
38 text-anchor-vertical: bottom;
39 text-anchor-horizontal: left;
40 text-color: blue;
41}
42node[test=text-placement]::bottom_right {
43 text-anchor-vertical: bottom;
44 text-anchor-horizontal: right;
45 text-color: lime;
46}
47node[test=text-placement]::below_center {
48 text-anchor-vertical: below;
49 text-anchor-horizontal: center;
50 text-color: red;
51}
52node[test=text-placement] {
53 symbol-fill-color: blue;
54 symbol-fill-opacity: 0.4;
55}
Note: See TracBrowser for help on using the repository browser.