Index: /trunk/data/validator/highway.mapcss
===================================================================
--- /trunk/data/validator/highway.mapcss	(revision 6631)
+++ /trunk/data/validator/highway.mapcss	(revision 6632)
@@ -53,5 +53,5 @@
 }
 
-way.major_road[foot] {
+way.major_road[foot?][!sidewalk] {
   throwWarning: tr("{0} used with {1}", tr("major road"), "{0.tag}");
   suggestAlternative: "sidewalk";
@@ -59,4 +59,6 @@
   assertMatch: "way highway=primary foot=yes";
   assertNoMatch: "way highway=primary";
+  assertNoMatch: "way highway=primary foot=yes sidewalk=both";
+  assertNoMatch: "way highway=primary foot=no";
 }
 
