2002/css-validator/org/w3c/css/properties/css3 CssListStyle.java,1.2,1.3

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv6020/css3

Modified Files:
	CssListStyle.java 
Log Message:
remove duplicate none (See https://www.w3.org/Bugs/Public/show_bug.cgi?id=19927 )

Index: CssListStyle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssListStyle.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssListStyle.java	7 Nov 2012 15:46:02 -0000	1.2
+++ CssListStyle.java	14 Nov 2012 13:58:27 -0000	1.3
@@ -170,7 +170,9 @@
 				v.add(positionVal);
 			}
 			if (imageVal != null) {
-				v.add(imageVal);
+				if (nbnone != 1 || typeVal != none || imageVal != none) {
+					v.add(imageVal);
+				}
 			}
 			value = (v.size() == 1) ? v.get(0) : new CssValueList(v);
 		}

Received on Wednesday, 14 November 2012 13:58:34 UTC