Fixing a bug in SafeStylesUtils where zIndex is specified in camelCase form instead of hyphenated form.
http://gwt-code-reviews.appspot.com/1603803/

Issue: 7028
Author: tbroyer
Review: jlabanca

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10795 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/safecss/shared/SafeStylesUtils.java b/user/src/com/google/gwt/safecss/shared/SafeStylesUtils.java
index 84f76a2..a225603 100644
--- a/user/src/com/google/gwt/safecss/shared/SafeStylesUtils.java
+++ b/user/src/com/google/gwt/safecss/shared/SafeStylesUtils.java
@@ -488,7 +488,7 @@
    * Set the z-index css property.
    */
   public static SafeStyles forZIndex(int value) {
-    return new SafeStylesString("zIndex: " + value + ";");
+    return new SafeStylesString("z-index: " + value + ";");
   }
 
   /**
diff --git a/user/test/com/google/gwt/safecss/shared/GwtSafeStylesUtilsTest.java b/user/test/com/google/gwt/safecss/shared/GwtSafeStylesUtilsTest.java
index 2c6a37b..29b97fd 100644
--- a/user/test/com/google/gwt/safecss/shared/GwtSafeStylesUtilsTest.java
+++ b/user/test/com/google/gwt/safecss/shared/GwtSafeStylesUtilsTest.java
@@ -92,7 +92,7 @@
   }
 
   public void testForZIndex() {
-    assertEquals("zIndex: 5;", SafeStylesUtils.forZIndex(5).asString());
+    assertEquals("z-index: 5;", SafeStylesUtils.forZIndex(5).asString());
   }
 
   public void testFromTrustedNameAndValue() {