meta { title: "MapCSS tests for relations"; } relation[test=role1] >[outer] way[test=role1_outer] { width: 4; color: navy; } relation[test=role1] >[role=inner][index=5] way { width: 4; color: lime; } area[landuse=quarry][test=parent] { fill-color : #aaa; } way[barrier=fence] < area[landuse=quarry][test=parent] { fill-color : #f70; }