- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 18 Oct 2012 09:46:04 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css21 In directory hutz:/tmp/cvs-serv16512/css21 Modified Files: CssBackground.java CssBackgroundColor.java CssBorder.java CssBorderColor.java CssColor.java CssOutline.java CssOutlineColor.java Log Message: color changed because of hashident Index: CssOutlineColor.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssOutlineColor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssOutlineColor.java 16 Oct 2012 20:44:00 -0000 1.1 +++ CssOutlineColor.java 18 Oct 2012 09:46:02 -0000 1.2 @@ -49,6 +49,11 @@ CssValue val = expression.getValue(); switch (val.getType()) { + case CssTypes.CSS_HASH_IDENT: + org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor(); + c.setShortRGBColor(val.toString(), ac); + value = c; + break; case CssTypes.CSS_COLOR: value = val; break; Index: CssBorderColor.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssBorderColor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssBorderColor.java 26 Apr 2012 12:53:53 -0000 1.2 +++ CssBorderColor.java 18 Oct 2012 09:46:02 -0000 1.3 @@ -64,6 +64,11 @@ op = expression.getOperator(); switch (val.getType()) { + case CssTypes.CSS_HASH_IDENT: + org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor(); + c.setShortRGBColor(val.toString(), ac); + res.add(c); + break; case CssTypes.CSS_COLOR: res.add(val); break; @@ -142,6 +147,11 @@ CssValue val = expression.getValue(); switch (val.getType()) { + case CssTypes.CSS_HASH_IDENT: + org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor(); + c.setShortRGBColor(val.toString(), ac); + retval = c; + break; case CssTypes.CSS_COLOR: retval = val; break; Index: CssBorder.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssBorder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssBorder.java 26 Apr 2012 12:53:53 -0000 1.2 +++ CssBorder.java 18 Oct 2012 09:46:02 -0000 1.3 @@ -127,6 +127,11 @@ } _width = val; break; + case CssTypes.CSS_HASH_IDENT: + org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor(); + c.setShortRGBColor(val.toString(), ac); + _color = c; + break; case CssTypes.CSS_COLOR: _color = val; break; Index: CssBackground.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssBackground.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssBackground.java 4 May 2012 12:58:22 -0000 1.2 +++ CssBackground.java 18 Oct 2012 09:46:02 -0000 1.3 @@ -87,6 +87,7 @@ } find = false; break; + case CssTypes.CSS_HASH_IDENT: case CssTypes.CSS_COLOR: if (color == null) { color = new CssBackgroundColor(ac, expression); Index: CssOutline.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssOutline.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssOutline.java 16 Oct 2012 21:22:53 -0000 1.2 +++ CssOutline.java 18 Oct 2012 09:46:02 -0000 1.3 @@ -73,6 +73,7 @@ throw new InvalidParamException("value", val.toString(), getPropertyName(), ac); + case CssTypes.CSS_HASH_IDENT: case CssTypes.CSS_COLOR: if (_color.value == null) { CssExpression ex = new CssExpression(); Index: CssColor.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssColor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssColor.java 4 Oct 2011 13:05:25 -0000 1.1 +++ CssColor.java 18 Oct 2012 09:46:02 -0000 1.2 @@ -45,6 +45,11 @@ CssValue val = expression.getValue(); setByUser(); switch (val.getType()) { + case CssTypes.CSS_HASH_IDENT: + org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor(); + c.setShortRGBColor(val.toString(), ac); + color = c; + break; case CssTypes.CSS_IDENT: if (inherit.equals(val)) { inherited = true; Index: CssBackgroundColor.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssBackgroundColor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssBackgroundColor.java 24 Aug 2012 07:07:50 -0000 1.2 +++ CssBackgroundColor.java 18 Oct 2012 09:46:02 -0000 1.3 @@ -43,6 +43,11 @@ CssValue val = expression.getValue(); switch (val.getType()) { + case CssTypes.CSS_HASH_IDENT: + org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor(); + c.setShortRGBColor(val.toString(), ac); + setColor(c); + break; case CssTypes.CSS_COLOR: setColor(val); break;
Received on Thursday, 18 October 2012 09:46:06 UTC