Changeset 11049 in josm for trunk/data/validator/deprecated.mapcss
- Timestamp:
- 2016-09-24T19:25:18+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/deprecated.mapcss
r11025 r11049 505 505 set samecolor; 506 506 fixRemove: "color"; 507 assertMatch: "way color=red colour=red"; 508 assertNoMatch: "way color=red colour=green"; 507 509 } 508 510 *[color][colour]!.samecolor { 509 511 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 512 assertNoMatch: "way color=red colour=red"; 513 assertMatch: "way color=red colour=green"; 510 514 } 511 515 *[/:color/]{ 512 516 throwWarning: tr("{0} is deprecated", "{0.key}"); 513 517 suggestAlternative: ":colour"; 518 assertNoMatch: "way color=red"; 519 assertMatch: "way roof:color=grey"; 514 520 } 515 521 *[/color:/] { … … 529 535 relation[/^..$/][!to] { 530 536 throwWarning: tr("uncommon short key"); 537 assertNoMatch: "relation to=Berlin"; 538 assertMatch: "relation fo=bar"; 539 assertMatch: "way to=bar"; 540 assertMatch: "node fo=bar"; 541 assertMatch: "node f=b"; 531 542 } 532 543
Note:
See TracChangeset
for help on using the changeset viewer.