2002/css-validator/org/w3c/css/properties/css1 CssListStyle.java,1.7,1.8

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

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/css1/CssListStyle.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CssListStyle.java	7 Nov 2012 11:34:54 -0000	1.7
+++ CssListStyle.java	14 Nov 2012 13:58:27 -0000	1.8
@@ -121,7 +121,9 @@
 				v.add(positionVal);
 			}
 			if (imageVal != null) {
-				v.add(imageVal);
+				if (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:30 UTC