More attachment tests (cf #245)
This commit is contained in:
parent
7a3b659d4e
commit
8497bd36f7
9
test/rendering-mss/basic_attachment_separate.mss
Normal file
9
test/rendering-mss/basic_attachment_separate.mss
Normal file
@ -0,0 +1,9 @@
|
||||
#layer {
|
||||
// default attachement comes before
|
||||
line-color: chartreuse;
|
||||
line-width: 10;
|
||||
}
|
||||
#layer::inline {
|
||||
line-color: lime;
|
||||
line-width: 5;
|
||||
}
|
10
test/rendering-mss/basic_attachment_separate.xml
Normal file
10
test/rendering-mss/basic_attachment_separate.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<Style name="style-inline" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#00ff00" stroke-width="5" />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="style" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#7fff00" stroke-width="10" />
|
||||
</Rule>
|
||||
</Style>
|
9
test/rendering-mss/basic_attachment_separate_before.mss
Normal file
9
test/rendering-mss/basic_attachment_separate_before.mss
Normal file
@ -0,0 +1,9 @@
|
||||
#layer::outline {
|
||||
line-color: aliceblue;
|
||||
line-width: 10;
|
||||
}
|
||||
#layer {
|
||||
// default attachment comes after
|
||||
line-color: orchid;
|
||||
line-width: 5;
|
||||
}
|
10
test/rendering-mss/basic_attachment_separate_before.xml
Normal file
10
test/rendering-mss/basic_attachment_separate_before.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<Style name="style" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#da70d6" stroke-width="5" />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="style-outline" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#f0f8ff" stroke-width="10" />
|
||||
</Rule>
|
||||
</Style>
|
@ -0,0 +1,12 @@
|
||||
#layer::outline {
|
||||
line-color: salmon;
|
||||
line-width: 10;
|
||||
}
|
||||
#layer {
|
||||
line-color: coral;
|
||||
line-width: 5;
|
||||
}
|
||||
#layer::inline {
|
||||
line-color: moccasin;
|
||||
line-width: 1;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<Style name="style-inline" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#ffe4b5" stroke-width="1" />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="style" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#ff7f50" stroke-width="5" />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="style-outline" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#fa8072" stroke-width="10" />
|
||||
</Rule>
|
||||
</Style>
|
8
test/rendering-mss/basic_attachment_separate_double.mss
Normal file
8
test/rendering-mss/basic_attachment_separate_double.mss
Normal file
@ -0,0 +1,8 @@
|
||||
#layer::outline {
|
||||
line-color: whitesmoke;
|
||||
line-width: 10;
|
||||
}
|
||||
#layer::inline {
|
||||
line-color: mintcream;
|
||||
line-width: 5;
|
||||
}
|
10
test/rendering-mss/basic_attachment_separate_double.xml
Normal file
10
test/rendering-mss/basic_attachment_separate_double.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<Style name="style-inline" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#f5fffa" stroke-width="5" />
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="style-outline" filter-mode="first">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke="#f5f5f5" stroke-width="10" />
|
||||
</Rule>
|
||||
</Style>
|
11
test/rendering-mss/basic_attachment_separate_with_label.mss
Normal file
11
test/rendering-mss/basic_attachment_separate_with_label.mss
Normal file
@ -0,0 +1,11 @@
|
||||
#layer {
|
||||
marker-width: 10;
|
||||
marker-allow-overlap: true;
|
||||
marker-fill: peru;
|
||||
}
|
||||
#layer::label {
|
||||
text-face-name: "DejaVu Sans Book";
|
||||
text-name: "'1'";
|
||||
text-fill: tomato;
|
||||
text-allow-overlap: true;
|
||||
}
|
10
test/rendering-mss/basic_attachment_separate_with_label.xml
Normal file
10
test/rendering-mss/basic_attachment_separate_with_label.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<Style name="style-label" filter-mode="first">
|
||||
<Rule>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" fill="#ff6347" allow-overlap="true" ><![CDATA['1']]></TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
<Style name="style" filter-mode="first">
|
||||
<Rule>
|
||||
<MarkersSymbolizer width="10" allow-overlap="true" fill="#cd853f" />
|
||||
</Rule>
|
||||
</Style>
|
Loading…
Reference in New Issue
Block a user