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

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

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

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