- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 17 Dec 2009 16:39:47 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1 In directory hutz:/tmp/cvs-serv13362/org/w3c/css/properties/css1 Modified Files: CssBorderStyle.java CssBorderStyleCSS2.java Log Message: css3-multicol column-rule-style uses CSS21 border-style values Index: CssBorderStyleCSS2.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderStyleCSS2.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- CssBorderStyleCSS2.java 19 Apr 2006 11:28:05 -0000 1.4 +++ CssBorderStyleCSS2.java 17 Dec 2009 16:39:45 -0000 1.5 @@ -7,6 +7,8 @@ package org.w3c.css.properties.css1; +import java.util.HashSet; + import org.w3c.css.parser.CssPrinterStyle; import org.w3c.css.parser.CssSelectors; import org.w3c.css.parser.CssStyle; @@ -14,6 +16,7 @@ import org.w3c.css.util.InvalidParamException; import org.w3c.css.values.CssExpression; import org.w3c.css.values.CssOperator; +import org.w3c.css.values.CssIdent; /** * <H4> @@ -88,6 +91,21 @@ */ public class CssBorderStyleCSS2 extends CssProperty implements CssOperator { + public static HashSet<CssIdent> acceptable_values; + static { + acceptable_values = new HashSet<CssIdent>(); + acceptable_values.add(CssIdent.getIdent("none")); + acceptable_values.add(CssIdent.getIdent("hidden")); + acceptable_values.add(CssIdent.getIdent("dotted")); + acceptable_values.add(CssIdent.getIdent("dashed")); + acceptable_values.add(CssIdent.getIdent("solid")); + acceptable_values.add(CssIdent.getIdent("double")); + acceptable_values.add(CssIdent.getIdent("groove")); + acceptable_values.add(CssIdent.getIdent("ridge")); + acceptable_values.add(CssIdent.getIdent("inset")); + acceptable_values.add(CssIdent.getIdent("outset")); + } + CssBorderTopStyleCSS2 top; CssBorderBottomStyleCSS2 bottom; CssBorderRightStyleCSS2 right; Index: CssBorderStyle.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssBorderStyle.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- CssBorderStyle.java 17 Dec 2009 16:08:12 -0000 1.5 +++ CssBorderStyle.java 17 Dec 2009 16:39:44 -0000 1.6 @@ -100,6 +100,9 @@ acceptable_values.add(CssIdent.getIdent("dashed")); acceptable_values.add(CssIdent.getIdent("solid")); acceptable_values.add(CssIdent.getIdent("double")); + acceptable_values.add(CssIdent.getIdent("dot-dash")); + acceptable_values.add(CssIdent.getIdent("dot-dot-dash")); + acceptable_values.add(CssIdent.getIdent("wave")); acceptable_values.add(CssIdent.getIdent("groove")); acceptable_values.add(CssIdent.getIdent("ridge")); acceptable_values.add(CssIdent.getIdent("inset"));
Received on Thursday, 17 December 2009 16:39:48 UTC