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

2002/css-validator/org/w3c/css/properties/css1 CssBorder.java,1.8,1.9 CssBorderBottom.java,1.7,1.8 CssBorderBottomWidth.java,1.5,1.6 CssBorderColor.java,1.9,1.10 CssBorderLeft.java,1.6,1.7 CssBorderLeftWidth.java,1.5,1.6 CssBorderRight.java,1.6,1.7 CssBorderRightWidth.java,1.5,1.6 CssBorderStyle.java,1.9,1.10 CssBorderTop.java,1.6,1.7 CssBorderTopWidth.java,1.5,1.6 CssBorderWidth.java,1.6,1.7

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 26 Apr 2012 09:45:52 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1SNLGq-0000uH-5X@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1
In directory hutz:/tmp/cvs-serv3471/css1

Modified Files:
	CssBorder.java CssBorderBottom.java CssBorderBottomWidth.java 
	CssBorderColor.java CssBorderLeft.java CssBorderLeftWidth.java 
	CssBorderRight.java CssBorderRightWidth.java 
	CssBorderStyle.java CssBorderTop.java CssBorderTopWidth.java 
	CssBorderWidth.java 
Log Message:
finished aligning property values to CSS1 (hidden is not allowed in CSS1 as an example), added spec references

Index: CssBorderColor.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderColor.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- CssBorderColor.java	25 Apr 2012 20:21:57 -0000	1.9
+++ CssBorderColor.java	26 Apr 2012 09:45:49 -0000	1.10
@@ -22,7 +22,7 @@
 import static org.w3c.css.values.CssOperator.SPACE;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#border-color-properties
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-color
  */
 public class CssBorderColor extends org.w3c.css.properties.css.CssBorderColor {
 
@@ -76,10 +76,6 @@
                         res.add(inherit);
                         break;
                     }
-                    if (transparent.equals(val)) {
-                        res.add(transparent);
-                        break;
-                    }
                     res.add(new org.w3c.css.values.CssColor(ac, (String)val.get()));
                     break;
                 default:
@@ -150,10 +146,6 @@
                 retval = val;
                 break;
             case CssTypes.CSS_IDENT:
-                if (transparent.equals(val)) {
-                    retval = transparent;
-                    break;
-                }
                 if (inherit.equals(val)) {
                     retval = inherit;
                     break;

Index: CssBorder.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorder.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- CssBorder.java	25 Apr 2012 20:21:55 -0000	1.8
+++ CssBorder.java	26 Apr 2012 09:45:49 -0000	1.9
@@ -27,7 +27,7 @@
 import static org.w3c.css.values.CssOperator.SPACE;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#border-shorthand-properties
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border
  */
 public class CssBorder extends org.w3c.css.properties.css.CssBorder {
 
@@ -139,10 +139,6 @@
                     break;
                 case CssTypes.CSS_IDENT:
                     CssIdent id = (CssIdent) val;
-                    if (transparent.equals(id)) {
-                        _color = transparent;
-                        break;
-                    }
                     if (inherit.equals(id)) {
                         if (expression.getCount() > 1) {
                             throw new InvalidParamException("unrecognize", ac);
@@ -179,18 +175,18 @@
         return new SideValues(_width, _style, _color);
     }
 
-// small wrapper to return values...
-protected static class SideValues {
-    CssValue width;
-    CssValue style;
-    CssValue color;
+    // small wrapper to return values...
+    protected static class SideValues {
+        CssValue width;
+        CssValue style;
+        CssValue color;
 
-    SideValues(CssValue width, CssValue style, CssValue color) {
-        this.width = width;
-        this.style = style;
-        this.color = color;
+        SideValues(CssValue width, CssValue style, CssValue color) {
+            this.width = width;
+            this.style = style;
+            this.color = color;
 
-    }
+        }
 
-}
+    }
 }

Index: CssBorderBottom.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderBottom.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CssBorderBottom.java	25 Apr 2012 20:21:56 -0000	1.7
+++ CssBorderBottom.java	26 Apr 2012 09:45:49 -0000	1.8
@@ -13,7 +13,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @since CSS1
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-bottom
+ * @see CssBorder
  */
 public class CssBorderBottom extends org.w3c.css.properties.css.CssBorderBottom {
 

Index: CssBorderBottomWidth.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderBottomWidth.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CssBorderBottomWidth.java	25 Apr 2012 20:21:56 -0000	1.5
+++ CssBorderBottomWidth.java	26 Apr 2012 09:45:49 -0000	1.6
@@ -10,8 +10,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#value-def-border-width
- * @version $Revision$
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-bottom-width
+ * @see CssBorderWidth
  */
 public class CssBorderBottomWidth extends org.w3c.css.properties.css.CssBorderBottomWidth {
 

Index: CssBorderStyle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderStyle.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- CssBorderStyle.java	25 Apr 2012 20:21:59 -0000	1.9
+++ CssBorderStyle.java	26 Apr 2012 09:45:49 -0000	1.10
@@ -23,14 +23,14 @@
 import static org.w3c.css.values.CssOperator.SPACE;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#value-def-border-style
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-style
  */
 public class CssBorderStyle extends org.w3c.css.properties.css.CssBorderStyle {
 
     public static CssIdent allowed_values[];
 
     static {
-        String _val[] = {"none", "hidden", "dotted", "dashed", "solid",
+        String _val[] = {"none", "dotted", "dashed", "solid",
                 "double", "groove", "ridge", "inset", "outset"};
         int i = 0;
         allowed_values = new CssIdent[_val.length];

Index: CssBorderLeftWidth.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderLeftWidth.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CssBorderLeftWidth.java	25 Apr 2012 20:21:58 -0000	1.5
+++ CssBorderLeftWidth.java	26 Apr 2012 09:45:49 -0000	1.6
@@ -10,8 +10,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#value-def-border-width
- * @version $Revision$
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-left-width
+ * @see CssBorderWidth
  */
 public class CssBorderLeftWidth extends org.w3c.css.properties.css.CssBorderLeftWidth {
 

Index: CssBorderRight.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderRight.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssBorderRight.java	25 Apr 2012 20:21:58 -0000	1.6
+++ CssBorderRight.java	26 Apr 2012 09:45:49 -0000	1.7
@@ -13,7 +13,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @since CSS1
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-right
+ * @see CssBorder
  */
 public class CssBorderRight extends org.w3c.css.properties.css.CssBorderRight {
 

Index: CssBorderRightWidth.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderRightWidth.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CssBorderRightWidth.java	25 Apr 2012 20:21:59 -0000	1.5
+++ CssBorderRightWidth.java	26 Apr 2012 09:45:49 -0000	1.6
@@ -10,8 +10,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#value-def-border-width
- * @version $Revision$
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-right-width
+ * @see CssBorderWidth
  */
 public class CssBorderRightWidth extends org.w3c.css.properties.css.CssBorderRightWidth {
 

Index: CssBorderWidth.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderWidth.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssBorderWidth.java	25 Apr 2012 20:22:00 -0000	1.6
+++ CssBorderWidth.java	26 Apr 2012 09:45:50 -0000	1.7
@@ -21,7 +21,7 @@
 import static org.w3c.css.values.CssOperator.SPACE;
 
 /**
- * @spec http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#value-def-border-width
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-width
  */
 public class CssBorderWidth extends org.w3c.css.properties.css.CssBorderWidth {
 

Index: CssBorderLeft.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderLeft.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssBorderLeft.java	25 Apr 2012 20:21:57 -0000	1.6
+++ CssBorderLeft.java	26 Apr 2012 09:45:49 -0000	1.7
@@ -12,7 +12,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @since CSS1
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-left
+ * @see CssBorder
  */
 public class CssBorderLeft extends org.w3c.css.properties.css.CssBorderLeft {
 

Index: CssBorderTopWidth.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderTopWidth.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CssBorderTopWidth.java	25 Apr 2012 20:22:00 -0000	1.5
+++ CssBorderTopWidth.java	26 Apr 2012 09:45:50 -0000	1.6
@@ -10,8 +10,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-top-width
  * @see CssBorderWidth
- * @version $Revision$
  */
 public class CssBorderTopWidth extends org.w3c.css.properties.css.CssBorderTopWidth {
 

Index: CssBorderTop.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderTop.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssBorderTop.java	25 Apr 2012 20:21:59 -0000	1.6
+++ CssBorderTop.java	26 Apr 2012 09:45:50 -0000	1.7
@@ -13,7 +13,8 @@
 import org.w3c.css.values.CssExpression;
 
 /**
- * @since CSS1
+ * @spec http://www.w3.org/TR/2008/REC-CSS1-20080411/#border-top
+ * @see CssBorder
  */
 public class CssBorderTop extends org.w3c.css.properties.css.CssBorderTop {
 
Received on Thursday, 26 April 2012 09:45:58 UTC

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