W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2013

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

From: CVS User ylafon <cvsmail@w3.org>
Date: Tue, 19 Feb 2013 13:13:29 +0000
Message-Id: <E1U7n0j-0002S6-Q1@roscoe.w3.org>
To: www-validator-cvs@w3.org
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

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