2002/css-validator/org/w3c/css/properties/css21 CssFont.java,1.1,1.2

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

Modified Files:
	CssFont.java 
Log Message:
font revamp, still some missing properties for CSS3 and @font-face for CSS2 and CSS3

Index: CssFont.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssFont.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssFont.java	4 Aug 2012 21:17:06 -0000	1.1
+++ CssFont.java	5 Aug 2012 06:22:55 -0000	1.2
@@ -200,6 +200,12 @@
 					throw new InvalidParamException("value",
 							val.toString(),
 							getPropertyName(), ac);
+				case CssTypes.CSS_STRING:
+					fontFamily = new CssFontFamily(ac, expression, check);
+					state = 2;
+					// expression.next is called, so continue instead
+					// of next
+					continue;
 				default:
 					throw new InvalidParamException("value",
 							val.toString(),

Received on Sunday, 5 August 2012 06:22:59 UTC