2002/css-validator/org/w3c/css/values CssColorCSS2.java,1.6,1.7 CssColorConstants.java,1.2,1.3

Update of /sources/public/2002/css-validator/org/w3c/css/values
In directory hutz:/tmp/cvs-serv16812/org/w3c/css/values

Modified Files:
	CssColorCSS2.java CssColorConstants.java 
Log Message:
>From Jean-Guilhem Rouel:
CSS 2.1 first implementation




Index: CssColorCSS2.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssColorCSS2.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CssColorCSS2.java	29 Aug 2005 12:36:47 -0000	1.6
+++ CssColorCSS2.java	1 Sep 2005 11:51:21 -0000	1.7
@@ -6,6 +6,10 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 /*
  * $Log$
+ * Revision 1.7  2005/09/01 11:51:21  ylafon
+ * From Jean-Guilhem Rouel:
+ * CSS 2.1 first implementation
+ *
  * Revision 1.6  2005/08/29 12:36:47  ylafon
  * refined error message for RGB value checks
  *
@@ -417,7 +421,7 @@
 	}
 	
 	throw new InvalidParamException("value", s, "color", ac);
-    }    
+    }
     
     private static Integer clippedIntValue(int rgb, ApplContext ac) {
 	if (rgb < 0 || rgb > 255) {

Index: CssColorConstants.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssColorConstants.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssColorConstants.java	8 Apr 2002 21:19:46 -0000	1.2
+++ CssColorConstants.java	1 Sep 2005 11:51:21 -0000	1.3
@@ -6,6 +6,10 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 /*
  * $Log$
+ * Revision 1.3  2005/09/01 11:51:21  ylafon
+ * From Jean-Guilhem Rouel:
+ * CSS 2.1 first implementation
+ *
  * Revision 1.2  2002/04/08 21:19:46  plehegar
  * New
  *
@@ -36,4 +40,46 @@
     "aqua", "black", "blue", "fushia", "gray", "green", "lime", "maroon", 
     "navy", "olive", "purple", "red", "silver", "teal", "white", "yellow" };
 
-}
+  public static final String[] COLORNAME_CSS21 = {
+      "aqua", "black", "blue", "fushia", "gray", "green", "lime", "maroon", 
+      "navy", "olive", "orange", "purple", "red", "silver", "teal", "white",
+      "yellow" };
+  
+  public static final String[] SYSTEMCOLORS = {
+      "ActiveBorder", "ActiveCaption", "AppWorkspace", "Background", 
+      "ButtonFace", "ButtonHighlight", "ButtonShadow", "ButtonText",
+      "CaptionText", "GrayText", "Highlight", "HighlightText", "InactiveBorder",
+      "InactiveCaption", "InactiveCaptionText", "InfoBackground", "InfoText",
+      "Menu", "MenuText", "Scrollbar", "ThreeDDarkShadow", "ThreeDFace",
+      "ThreeDHighlight", "ThreeDLightShadow", "ThreeDShadow", "Window",
+      "WindowFrame", "WindowText"
+  };
+}/*
+ActiveBorder
+ActiveCaption
+AppWorkspace
+Background
+ButtonFace
+ButtonHighlight
+ButtonShadow
+ButtonText
+CaptionText
+GrayText
+Highlight
+HighlightText
+InactiveBorder
+InactiveCaption
+InactiveCaptionText
+InfoBackground
+InfoText
+Menu
+MenuText
+Scrollbar
+ThreeDDarkShadow
+ThreeDFace
+ThreeDHighlight
+ThreeDLightShadow
+ThreeDShadow
+Window
+WindowFrame
+WindowText*/
\ No newline at end of file

Received on Thursday, 1 September 2005 11:51:33 UTC