Index: /trunk/data/validator/geometry.mapcss
===================================================================
--- /trunk/data/validator/geometry.mapcss	(revision 7163)
+++ /trunk/data/validator/geometry.mapcss	(revision 7164)
@@ -13,5 +13,5 @@
 
 /* Building inside building (spatial test) */
-*[building][building!~/no|entrance/][coalesce(tag("layer"),"0") = coalesce(parent_tag("layer"),"0")] ∈
+*[building][building!~/no|entrance/][any(tag("layer"),"0") = any(parent_tag("layer"),"0")] ∈
 *[building][building!~/no|entrance/] {
   throwWarning: tr("Building inside building");
Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 7163)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 7164)
@@ -178,8 +178,19 @@
         /**
          * Returns the first non-null object. The name originates from the {@code COALESCE} SQL function.
-         * @see Utils#firstNonNull(Object[])
+         * @deprecated Deprecated in favour of {@link #any(Object...)} from the MapCSS standard.
          */
         @NullableArguments
         public static Object coalesce(Object... args) {
+            return Utils.firstNonNull(args);
+        }
+
+        /**
+         * Returns the first non-null object.
+         * The name originates from <a href="http://wiki.openstreetmap.org/wiki/MapCSS/0.2/eval">MapCSS standard</a>.
+         * @see #coalesce(Object...)
+         * @see Utils#firstNonNull(Object[])
+         */
+        @NullableArguments
+        public static Object any(Object... args) {
             return Utils.firstNonNull(args);
         }
