﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23229	JOSM-mapcss does not return nodes from nested relation, way, node child selectors	pierzen	pierzen	"Trying to select both ways and nodes from a relation, ways are selected and colored apporpriately but selector for nodes from the ways do not select and color the nodes part of these ways.

The example below shows the mapcss to reproduce the problem. The part 1 selects successfully all ways from a [natural=water] relation. But the second section returns no nodes, this with no error message.

1.  way child selector from relation - works fine 

{{{#!mapcss
    relation[type=multipolygon][natural=water] > way::lnatural_way, area[natural] > way::lnatural_way
    {
       set .natural_way; z-index:50;
       color: red;  width: 2; opacity:1;
    }

}}}

2.  way child selector from ways selected - returns nothing - no error reported

{{{#!mapcss
    way.natural_way > node  
    {
       set .natural_water_way_node;
       symbol-shape:pentagon;  symbol-size:46; symbol-stroke-color:black; 
       symbol-stroke-width:2; symbol-stroke-opacity:1;
       symbol-fill-color:red; symbol-fill-opacity:1;
    }
}}}

"	enhancement	needinfo	normal		Core			mapcss parent child selector	
