Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Add regression test for issue #247 - broken in master at 4d4abb2, wor…
Browse files Browse the repository at this point in the history
…ks in 6eda91a
  • Loading branch information
Dane Springmeyer committed Jun 1, 2013
1 parent 8786bf5 commit cfc90da
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/rendering-mss/issue_247_1.mss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#countries {
::outline {
line-color: #85c5d3;
line-width: 4;
line-join: round;
//[ne_10m_adm = 'AAA'] { }
}
::inline {
line-color: black;
line-width: 1;
}
}
11 changes: 11 additions & 0 deletions test/rendering-mss/issue_247_1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

<Style name="style-inline" filter-mode="first">
<Rule>
<LineSymbolizer stroke="#000000" stroke-width="1" />
</Rule>
</Style>
<Style name="style-outline" filter-mode="first">
<Rule>
<LineSymbolizer stroke="#85c5d3" stroke-width="4" stroke-linejoin="round" />
</Rule>
</Style>
12 changes: 12 additions & 0 deletions test/rendering-mss/issue_247_2.mss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#countries {
::outline {
line-color: #85c5d3;
line-width: 4;
line-join: round;
[ne_10m_adm = 'AAA'] { }
}
::inline {
line-color: black;
line-width: 1;
}
}
15 changes: 15 additions & 0 deletions test/rendering-mss/issue_247_2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

<Style name="style-inline" filter-mode="first">
<Rule>
<LineSymbolizer stroke="#000000" stroke-width="1" />
</Rule>
</Style>
<Style name="style-outline" filter-mode="first">
<Rule>
<Filter>([ne_10m_adm] = 'AAA')</Filter>
<LineSymbolizer stroke="#85c5d3" stroke-width="4" stroke-linejoin="round" />
</Rule>
<Rule>
<LineSymbolizer stroke="#85c5d3" stroke-width="4" stroke-linejoin="round" />
</Rule>
</Style>

0 comments on commit cfc90da

Please sign in to comment.