- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 Apr 2012 20:22:10 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/values In directory hutz:/tmp/cvs-serv23918/w3c/css/values Modified Files: CssSwitch.java CssValueList.java Log Message: Finished implementation of css3-background (background and borders) * border is now a single item, instead of one per level * able to parse all the positive tests, some negative ones will need some tuning * Grammar modification to use the '/' between two numbers without matching a ratio Index: CssValueList.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssValueList.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssValueList.java 9 Feb 2012 17:36:33 -0000 1.2 +++ CssValueList.java 25 Apr 2012 20:22:07 -0000 1.3 @@ -25,6 +25,10 @@ return type; } + public int size() { + return value.size(); + } + /** * Create a new CssValueList */ @@ -66,6 +70,13 @@ } /** + * return a stored value + */ + public CssValue get(int idx) { + return value.get(idx); + } + + /** * Returns a string representation of the object. */ public String toString() { Index: CssSwitch.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssSwitch.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssSwitch.java 3 Apr 2012 14:20:54 -0000 1.1 +++ CssSwitch.java 25 Apr 2012 20:22:07 -0000 1.2 @@ -27,6 +27,7 @@ * Create a new CssSwitch. */ public CssSwitch() { + switch_char = SLASH; } /**
Received on Wednesday, 25 April 2012 20:22:12 UTC