W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2012

2002/css-validator/org/w3c/css/properties/css3 CssBoxShadow.java,1.9,1.10

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 05 Apr 2012 19:50:27 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1SFshP-0006bB-Pw@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv25351/w3c/css/properties/css3

Modified Files:
	CssBoxShadow.java 
Log Message:
...and fix the toString()

Index: CssBoxShadow.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssBoxShadow.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- CssBoxShadow.java	5 Apr 2012 17:29:21 -0000	1.9
+++ CssBoxShadow.java	5 Apr 2012 19:50:25 -0000	1.10
@@ -331,7 +331,10 @@
             StringBuilder sb = new StringBuilder();
             sb.append(horizontal_offset).append(' ').append(vertical_offset);
             if (blur_radius != null) {
-                sb.append(' ').append(blur_radius).append(' ').append(spread_distance);
+                sb.append(' ').append(blur_radius);
+            }
+            if (spread_distance != null) {
+                sb.append(' ').append(spread_distance);
             }
             if (color != null) {
                 sb.append(' ').append(color);
Received on Thursday, 5 April 2012 19:50:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:49 UTC