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

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