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

2002/css-validator/org/w3c/css/properties/css3 CssTextEmphasisPosition.java,1.1,1.2

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 01 Sep 2012 16:55:35 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1T7qyt-0003fi-U3@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv14096/css3

Modified Files:
	CssTextEmphasisPosition.java 
Log Message:
stricter end check

Index: CssTextEmphasisPosition.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssTextEmphasisPosition.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssTextEmphasisPosition.java	31 Aug 2012 21:12:04 -0000	1.1
+++ CssTextEmphasisPosition.java	1 Sep 2012 16:55:33 -0000	1.2
@@ -129,7 +129,7 @@
 							getPropertyName(), ac);
 				}
 				nbgot++;
-				if (expression.getRemainingCount() == 1 || (nbgot == 2)) {
+				if (expression.getRemainingCount() == 1 || (!check && nbgot == 2)) {
 					// if we have both, exit
 					// (needed only if check == false...
 					break;
Received on Saturday, 1 September 2012 16:55:36 UTC

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