W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2012

2002/css-validator/org/w3c/css/properties/css3 Css3Style.java,1.135,1.136 CssBackground.java,1.5,1.6 CssBorder.java,1.4,1.5 CssBoxShadow.java,1.13,1.14 CssColor.java,1.3,1.4 CssColumnRule.java,1.9,1.10 CssOutline.java,1.2,1.3 CssOutlineColor.java,1.2,1.3

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 18 Oct 2012 09:46:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TOmg1-0004KQ-BF@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv16512/css3

Modified Files:
	Css3Style.java CssBackground.java CssBorder.java 
	CssBoxShadow.java CssColor.java CssColumnRule.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/css3/CssOutlineColor.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssOutlineColor.java	16 Oct 2012 21:22:53 -0000	1.2
+++ CssOutlineColor.java	18 Oct 2012 09:46:03 -0000	1.3
@@ -54,6 +54,12 @@
 				value = val;
 				expression.next();
 				break;
+			case CssTypes.CSS_HASH_IDENT:
+				org.w3c.css.values.CssColor c = new org.w3c.css.values.CssColor();
+				c.setShortRGBColor(val.toString(), ac);
+				value = c;
+				expression.next();
+				break;
 			case CssTypes.CSS_IDENT:
 				if (invert.equals(val)) {
 					value = invert;

Index: CssBorder.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssBorder.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssBorder.java	10 Sep 2012 17:04:58 -0000	1.4
+++ CssBorder.java	18 Oct 2012 09:46:03 -0000	1.5
@@ -124,6 +124,11 @@
 					length.checkPositiveness(ac, caller);
 					_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/css3/CssBackground.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CssBackground.java	28 Aug 2012 20:31:06 -0000	1.5
+++ CssBackground.java	18 Oct 2012 09:46:03 -0000	1.6
@@ -250,6 +250,7 @@
 			op = expression.getOperator();
 
 			switch (val.getType()) {
+				case CssTypes.CSS_HASH_IDENT:
 				case CssTypes.CSS_COLOR:
 					// we already got one, fail...
 					if (v.color != null || next_is_size || !is_final) {

Index: CssColumnRule.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssColumnRule.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- CssColumnRule.java	23 Oct 2011 14:42:32 -0000	1.9
+++ CssColumnRule.java	18 Oct 2012 09:46:03 -0000	1.10
@@ -63,6 +63,7 @@
                         ac);
             }
             switch (val.getType()) {
+				case CssTypes.CSS_HASH_IDENT:
                 case CssTypes.CSS_FUNCTION:
                 case CssTypes.CSS_COLOR:
                     if (rule_color != null) {

Index: CssOutline.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/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:03 -0000	1.3
@@ -74,6 +74,7 @@
 					throw new InvalidParamException("value",
 							val.toString(),
 							getPropertyName(), ac);
+				case CssTypes.CSS_HASH_IDENT:
 				case CssTypes.CSS_COLOR:
 					if (colorValue == null) {
 						CssExpression ex = new CssExpression();

Index: CssColor.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssColor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssColor.java	25 Apr 2012 20:22:07 -0000	1.3
+++ CssColor.java	18 Oct 2012 09:46:03 -0000	1.4
@@ -49,6 +49,11 @@
         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)) {
                     color = inherit;

Index: Css3Style.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/Css3Style.java,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- Css3Style.java	17 Oct 2012 13:50:04 -0000	1.135
+++ Css3Style.java	18 Oct 2012 09:46:02 -0000	1.136
@@ -71,6 +71,7 @@
 import org.w3c.css.properties.css.CssMarqueeSpeed;
 import org.w3c.css.properties.css.CssMarqueeStyle;
 import org.w3c.css.properties.css.CssNavIndex;
+import org.w3c.css.properties.css.CssNavUp;
 import org.w3c.css.properties.css.CssOpacity;
 import org.w3c.css.properties.css.CssOrder;
 import org.w3c.css.properties.css.CssOutlineOffset;
@@ -215,6 +216,7 @@
 	public CssOutlineOffset cssOutlineOffset;
 	public CssImeMode cssImeMode;
 	public CssNavIndex cssNavIndex;
+	public CssNavUp cssNavUp;
 	public CssTextOverflow cssTextOverflow;
 	public CssIcon cssIcon;
 
@@ -231,7 +233,6 @@
 	CssLineStackingStrategy cssLineStackingStrategy;
 	CssTextHeight cssTextHeight;
 	CssAppearance cssAppearance;
-	CssNavUp cssNavUp;
 	CssNavRight cssNavRight;
 	CssNavDown cssNavDown;
 	CssNavLeft cssNavLeft;

Index: CssBoxShadow.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssBoxShadow.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- CssBoxShadow.java	10 Sep 2012 17:04:58 -0000	1.13
+++ CssBoxShadow.java	18 Oct 2012 09:46:03 -0000	1.14
@@ -187,6 +187,7 @@
 					CssColor color = new CssColor(ac, exp, check);
 					value.color = (CssValue) color.get();
 					break;
+				case CssTypes.CSS_HASH_IDENT:
 				case CssTypes.CSS_COLOR:
 				case CssTypes.CSS_FUNCTION:
 					if (got_length != 0) {
Received on Thursday, 18 October 2012 09:46:09 UTC

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