2002/css-validator/org/w3c/css/properties/css3 CssOutlineStyle.java,1.1,1.2

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv21084/css3

Modified Files:
	CssOutlineStyle.java 
Log Message:
hidden is not a valid outline-style value

Index: CssOutlineStyle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssOutlineStyle.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssOutlineStyle.java	16 Oct 2012 20:44:01 -0000	1.1
+++ CssOutlineStyle.java	19 Oct 2012 15:13:55 -0000	1.2
@@ -19,6 +19,7 @@
 public class CssOutlineStyle extends org.w3c.css.properties.css.CssOutlineStyle {
 
 	public static final CssIdent auto = CssIdent.getIdent("auto");
+	public static final CssIdent hidden = CssIdent.getIdent("hidden");
 
 	public static final CssIdent getMatchingIdent(CssIdent ident) {
 		if (auto.equals(ident)) {
@@ -69,6 +70,11 @@
 		} else {
 			// here we delegate to BorderStyle implementation
 			value = CssBorderStyle.checkBorderSideStyle(ac, this, expression, check);
+			// but hidden is not a valid value...
+			if (hidden.equals(value)) {
+				throw new InvalidParamException("value", hidden,
+						getPropertyName(), ac);
+			}
 		}
 	}
 

Received on Friday, 19 October 2012 15:14:04 UTC