- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 03 Oct 2012 15:18:53 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3 In directory hutz:/tmp/cvs-serv15979/css3 Modified Files: CssTransitionTimingFunction.java Log Message: only x values must be in [0,1] Index: CssTransitionTimingFunction.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssTransitionTimingFunction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssTransitionTimingFunction.java 3 Oct 2012 15:11:04 -0000 1.1 +++ CssTransitionTimingFunction.java 3 Oct 2012 15:18:51 -0000 1.2 @@ -213,9 +213,11 @@ } // we have a number, continue checks CssNumber number = val.getNumber(); - // it must be a >0 integer - number.checkPositiveness(ac, caller); - number.checkLowerEqualThan(ac, 1., caller); + // it must be betwee 0 and 1 for X [x1,y1,x2,y2] + if ((i & 0x1) == 0) { + number.checkPositiveness(ac, caller); + number.checkLowerEqualThan(ac, 1., caller); + } values.add(val); // go to the next item... funcparam.next();
Received on Wednesday, 3 October 2012 15:18:54 UTC