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

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

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Nov 2012 13:58:29 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TYdU5-0001b9-BS@lionel-hutz.w3.org>
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

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