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

2002/css-validator/org/w3c/css/values CssNumber.java,1.10,1.11

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 07 Oct 2011 09:33:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RC6ny-0002UY-2J@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/values
In directory hutz:/tmp/cvs-serv9480/org/w3c/css/values

Modified Files:
	CssNumber.java 
Log Message:
spec version and @since info in properties, finished css3-color <http://www.w3.org/TR/2011/REC-css3-color-20110607/>

Index: CssNumber.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssNumber.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- CssNumber.java	14 Sep 2011 16:31:50 -0000	1.10
+++ CssNumber.java	7 Oct 2011 09:33:19 -0000	1.11
@@ -63,6 +63,24 @@
     }
 
     /**
+     * Set the value explicitly
+     *
+     */
+    public void setIntValue(int v) {
+        isInt = true;
+        value = new Float(v);
+    }
+
+     /**
+     * Set the value explicitly
+     *
+     */
+    public void setFloatValue(float v) {
+        isInt = false;
+        value = v;
+    }
+
+    /**
      * Returns the value
      */
     public Object get() {
Received on Friday, 7 October 2011 09:33:28 UTC

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