- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 08 Oct 2012 09:57:54 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3 In directory hutz:/tmp/cvs-serv21560/css3 Modified Files: CssAnimationDirection.java CssAnimationFillMode.java CssAnimationPlayState.java Log Message: unrecognized value fix Index: CssAnimationPlayState.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssAnimationPlayState.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssAnimationPlayState.java 8 Oct 2012 09:21:12 -0000 1.1 +++ CssAnimationPlayState.java 8 Oct 2012 09:57:52 -0000 1.2 @@ -75,11 +75,15 @@ singleVal = true; sValue = inherit; values.add(inherit); + break; } else { CssIdent ident = getAllowedIdent((CssIdent) val); - values.add(ident); + if (ident != null) { + values.add(ident); + break; + } } - break; + // let if fail default: throw new InvalidParamException("value", val.toString(), Index: CssAnimationDirection.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssAnimationDirection.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssAnimationDirection.java 8 Oct 2012 09:34:18 -0000 1.1 +++ CssAnimationDirection.java 8 Oct 2012 09:57:52 -0000 1.2 @@ -75,11 +75,15 @@ singleVal = true; sValue = inherit; values.add(inherit); + break; } else { CssIdent ident = getAllowedIdent((CssIdent) val); - values.add(ident); + if (ident != null) { + values.add(ident); + break; + } } - break; + // let it fail default: throw new InvalidParamException("value", val.toString(), Index: CssAnimationFillMode.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssAnimationFillMode.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssAnimationFillMode.java 8 Oct 2012 09:27:30 -0000 1.1 +++ CssAnimationFillMode.java 8 Oct 2012 09:57:52 -0000 1.2 @@ -75,11 +75,15 @@ singleVal = true; sValue = inherit; values.add(inherit); + break; } else { CssIdent ident = getAllowedIdent((CssIdent) val); - values.add(ident); + if (ident != null) { + values.add(ident); + break; + } } - break; + // let it fail default: throw new InvalidParamException("value", val.toString(),
Received on Monday, 8 October 2012 09:57:55 UTC