Index: trunk/test/data/renderer/way-dashes/data.osm
===================================================================
--- trunk/test/data/renderer/way-dashes/data.osm	(revision 12447)
+++ trunk/test/data/renderer/way-dashes/data.osm	(revision 12448)
@@ -1,88 +1,103 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <osm version='0.6' upload='never' generator='JOSM'>
-  <node id='-30552' action='modify' visible='true' lat='0.1' lon='0.1' />
-  <node id='-30554' action='modify' visible='true' lat='0.15' lon='0.3' />
-  <node id='-30556' action='modify' visible='true' lat='0.1' lon='0.5' />
-  <node id='-30558' action='modify' visible='true' lat='0.1' lon='0.7' />
-  <node id='-30560' action='modify' visible='true' lat='0.1' lon='0.9' />
-  <node id='-30562' action='modify' visible='true' lat='0.3' lon='0.1' />
-  <node id='-30564' action='modify' visible='true' lat='0.35' lon='0.3' />
-  <node id='-30566' action='modify' visible='true' lat='0.3' lon='0.5' />
-  <node id='-30568' action='modify' visible='true' lat='0.3' lon='0.7' />
-  <node id='-30570' action='modify' visible='true' lat='0.3' lon='0.9' />
-  <node id='-30572' action='modify' visible='true' lat='0.5' lon='0.1' />
-  <node id='-30574' action='modify' visible='true' lat='0.55' lon='0.3' />
-  <node id='-30576' action='modify' visible='true' lat='0.5' lon='0.5' />
-  <node id='-30578' action='modify' visible='true' lat='0.5' lon='0.7' />
-  <node id='-30580' action='modify' visible='true' lat='0.5' lon='0.9' />
-  <node id='-30582' action='modify' visible='true' lat='0.7' lon='0.1' />
-  <node id='-30584' action='modify' visible='true' lat='0.75' lon='0.3' />
-  <node id='-30586' action='modify' visible='true' lat='0.7' lon='0.5' />
-  <node id='-30588' action='modify' visible='true' lat='0.7' lon='0.7' />
-  <node id='-30590' action='modify' visible='true' lat='0.7' lon='0.9' />
-  <node id='-30592' action='modify' visible='true' lat='0.9' lon='0.1' />
-  <node id='-30594' action='modify' visible='true' lat='0.95' lon='0.3' />
-  <node id='-30596' action='modify' visible='true' lat='0.9' lon='0.5' />
-  <node id='-30598' action='modify' visible='true' lat='0.9' lon='0.7' />
-  <node id='-30600' action='modify' visible='true' lat='0.9' lon='0.9' />
-  <way id='-30626' action='modify' visible='true'>
-    <nd ref='-30600' />
-    <nd ref='-30598' />
+  <node id='-38146' action='modify' lat='0.1' lon='0.1' />
+  <node id='-38148' action='modify' lat='0.15' lon='0.3' />
+  <node id='-38150' action='modify' lat='0.1' lon='0.5' />
+  <node id='-38152' action='modify' lat='0.1' lon='0.7' />
+  <node id='-38154' action='modify' lat='0.1' lon='0.9' />
+  <node id='-38156' action='modify' lat='0.3' lon='0.1' />
+  <node id='-38158' action='modify' lat='0.35' lon='0.3' />
+  <node id='-38160' action='modify' lat='0.3' lon='0.5' />
+  <node id='-38162' action='modify' lat='0.3' lon='0.7' />
+  <node id='-38164' action='modify' lat='0.3' lon='0.9' />
+  <node id='-38166' action='modify' lat='0.5' lon='0.1' />
+  <node id='-38168' action='modify' lat='0.55' lon='0.3' />
+  <node id='-38170' action='modify' lat='0.5' lon='0.5' />
+  <node id='-38172' action='modify' lat='0.5' lon='0.7' />
+  <node id='-38174' action='modify' lat='0.5' lon='0.9' />
+  <node id='-38176' action='modify' lat='0.7' lon='0.1' />
+  <node id='-38178' action='modify' lat='0.75' lon='0.3' />
+  <node id='-38180' action='modify' lat='0.7' lon='0.5' />
+  <node id='-38182' action='modify' lat='0.7' lon='0.7' />
+  <node id='-38184' action='modify' lat='0.7' lon='0.9' />
+  <node id='-38186' action='modify' lat='0.9' lon='0.1' />
+  <node id='-38188' action='modify' lat='0.95' lon='0.3' />
+  <node id='-38190' action='modify' lat='0.9' lon='0.5' />
+  <node id='-38192' action='modify' lat='0.9' lon='0.7' />
+  <node id='-38194' action='modify' lat='0.9' lon='0.9' />
+  <node id='-38242' action='modify' lat='0.2993788257' lon='-0.49438751221' />
+  <node id='-38243' action='modify' lat='0.38452134447' lon='0.01098358154' />
+  <node id='-38245' action='modify' lat='0.41473301158' lon='0.51910125732' />
+  <node id='-38247' action='modify' lat='0.40923998953' lon='0.99700653076' />
+  <node id='-38249' action='modify' lat='0.27465989777' lon='1.13982879639' />
+  <node id='-38294' action='modify' lat='-0.3048664203' lon='1.31011688232' />
+  <way id='-38196' action='modify'>
+    <nd ref='-38194' />
+    <nd ref='-38192' />
     <tag k='highlight' v='yes' />
     <tag k='test' v='style5' />
   </way>
-  <way id='-30629' action='modify' visible='true'>
-    <nd ref='-30590' />
-    <nd ref='-30588' />
+  <way id='-38198' action='modify'>
+    <nd ref='-38184' />
+    <nd ref='-38182' />
     <tag k='highlight' v='yes' />
     <tag k='test' v='style4' />
   </way>
-  <way id='-30630' action='modify' visible='true'>
-    <nd ref='-30580' />
-    <nd ref='-30578' />
+  <way id='-38200' action='modify'>
+    <nd ref='-38174' />
+    <nd ref='-38172' />
     <tag k='highlight' v='yes' />
     <tag k='test' v='style3' />
   </way>
-  <way id='-30631' action='modify' visible='true'>
-    <nd ref='-30570' />
-    <nd ref='-30568' />
+  <way id='-38202' action='modify'>
+    <nd ref='-38164' />
+    <nd ref='-38162' />
     <tag k='highlight' v='yes' />
     <tag k='test' v='style2' />
   </way>
-  <way id='-30632' action='modify' visible='true'>
-    <nd ref='-30560' />
-    <nd ref='-30558' />
+  <way id='-38204' action='modify'>
+    <nd ref='-38154' />
+    <nd ref='-38152' />
     <tag k='highlight' v='yes' />
     <tag k='test' v='style1' />
   </way>
-  <way id='-30638' action='modify' visible='true'>
-    <nd ref='-30596' />
-    <nd ref='-30594' />
-    <nd ref='-30592' />
+  <way id='-38206' action='modify'>
+    <nd ref='-38190' />
+    <nd ref='-38188' />
+    <nd ref='-38186' />
     <tag k='test' v='style5' />
   </way>
-  <way id='-30640' action='modify' visible='true'>
-    <nd ref='-30586' />
-    <nd ref='-30584' />
-    <nd ref='-30582' />
+  <way id='-38208' action='modify'>
+    <nd ref='-38180' />
+    <nd ref='-38178' />
+    <nd ref='-38176' />
     <tag k='test' v='style4' />
   </way>
-  <way id='-30642' action='modify' visible='true'>
-    <nd ref='-30576' />
-    <nd ref='-30574' />
-    <nd ref='-30572' />
+  <way id='-38210' action='modify'>
+    <nd ref='-38170' />
+    <nd ref='-38168' />
+    <nd ref='-38166' />
     <tag k='test' v='style3' />
   </way>
-  <way id='-30644' action='modify' visible='true'>
-    <nd ref='-30566' />
-    <nd ref='-30564' />
-    <nd ref='-30562' />
+  <way id='-38212' action='modify'>
+    <nd ref='-38160' />
+    <nd ref='-38158' />
+    <nd ref='-38156' />
     <tag k='test' v='style2' />
   </way>
-  <way id='-30646' action='modify' visible='true'>
-    <nd ref='-30556' />
-    <nd ref='-30554' />
-    <nd ref='-30552' />
+  <way id='-38214' action='modify'>
+    <nd ref='-38150' />
+    <nd ref='-38148' />
+    <nd ref='-38146' />
     <tag k='test' v='style1' />
   </way>
+  <way id='-38244' action='modify'>
+    <nd ref='-38242' />
+    <nd ref='-38243' />
+    <nd ref='-38245' />
+    <nd ref='-38247' />
+    <nd ref='-38249' />
+    <nd ref='-38294' />
+    <tag k='test' v='out-of-screen' />
+  </way>
 </osm>
Index: trunk/test/data/renderer/way-dashes/style.mapcss
===================================================================
--- trunk/test/data/renderer/way-dashes/style.mapcss	(revision 12447)
+++ trunk/test/data/renderer/way-dashes/style.mapcss	(revision 12448)
@@ -35,2 +35,13 @@
 	dashes-background-opacity: .5;
 }
+
+way[test=out-of-screen] {
+    width: 5;
+    color: teal;
+    opacity: 0.7;
+	dashes: 18, 14;
+	dashes-offset: 1;
+	dashes-background-color: khaki;
+	dashes-background-opacity: .8;
+}
+
