- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 04 Sep 2012 09:14:19 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv31850/css3
Modified Files:
CssTextEmphasis.java
Log Message:
inherit...
Index: CssTextEmphasis.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssTextEmphasis.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssTextEmphasis.java 4 Sep 2012 09:10:58 -0000 1.1
+++ CssTextEmphasis.java 4 Sep 2012 09:14:17 -0000 1.2
@@ -64,6 +64,15 @@
break;
case CssTypes.CSS_IDENT:
CssIdent ident = (CssIdent) val;
+ if (inherit.equals(ident)) {
+ if (expression.getCount() > 1) {
+ throw new InvalidParamException("value", val,
+ getPropertyName(), ac);
+ }
+ value = inherit;
+ expression.next();
+ return;
+ }
CssIdent id = CssTextEmphasisStyle.getAllowedValue(ident);
if (id != null) {
if (styleExp == null) {
Received on Tuesday, 4 September 2012 09:14:23 UTC