CVS 2002/css-validator/org/w3c/css/properties/css3

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory roscoe:/tmp/cvs-serv9397

Modified Files:
	CssAnimationDuration.java 
Log Message:
negative duration is now invalid (ie: not considered as being 0)

--- /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssAnimationDuration.java	2012/10/08 08:46:53	1.1
+++ /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssAnimationDuration.java	2013/02/19 13:13:29	1.2
@@ -1,4 +1,4 @@
-// $Id: CssAnimationDuration.java,v 1.1 2012/10/08 08:46:53 ylafon Exp $
+// $Id: CssAnimationDuration.java,v 1.2 2013/02/19 13:13:29 ylafon Exp $
 // Author: Yves Lafon <ylafon@w3.org>
 //
 // (c) COPYRIGHT MIT, ERCIM and Keio University, 2012.
@@ -18,7 +18,7 @@
 import static org.w3c.css.values.CssOperator.COMMA;
 
 /**
- * @spec http://www.w3.org/TR/2012/WD-css3-animations-20120403/#animation-duration
+ * @spec http://www.w3.org/TR/2013/WD-css3-animations-20130218/#animation-duration
  */
 public class CssAnimationDuration extends org.w3c.css.properties.css.CssAnimationDuration {
 
@@ -51,7 +51,7 @@
 			switch (val.getType()) {
 				case CssTypes.CSS_TIME:
 					CssTime t = val.getTime();
-					t.warnPositiveness(ac, this);
+					t.checkPositiveness(ac, this);
 					values.add(val);
 					break;
 				case CssTypes.CSS_IDENT:

Received on Tuesday, 19 February 2013 13:13:30 UTC