Index: trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.groovy
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.groovy	(revision 7165)
+++ trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.groovy	(revision 7166)
@@ -257,4 +257,10 @@
 
     @Test
+    public void testChildSelectorGreaterThanSignIsOptional() throws Exception {
+        assert getParser("relation[type=route] way[highway]").child_selector().toString() ==
+                getParser("relation[type=route] > way[highway]").child_selector().toString()
+    }
+
+    @Test
     public void testSiblingSelector() throws Exception {
         def s1 = (Selector.ChildOrParentSelector) getParser("*[a?][parent_tag(\"highway\")=\"unclassified\"] + *[b?]").child_selector()
