- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 19 Aug 2012 11:52:59 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3 In directory hutz:/tmp/cvs-serv31277/css3 Modified Files: CssFont.java Log Message: fix, font-variant in font uses css21 values, not font-style Index: CssFont.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssFont.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssFont.java 5 Aug 2012 06:22:56 -0000 1.2 +++ CssFont.java 19 Aug 2012 11:52:57 -0000 1.3 @@ -96,19 +96,19 @@ gotNormal = true; break; } - int pos = org.w3c.css.properties.css21.CssFontStyle.allowed_values.indexOf(ident); + int pos = CssFontStyle.allowed_values.indexOf(ident); if (pos >= 0) { if (fontStyle != null) { throw new InvalidParamException("value", val.toString(), getPropertyName(), ac); } - fontStyle = new org.w3c.css.properties.css21.CssFontStyle(); + fontStyle = new CssFontStyle(); fontStyle.value = CssFontStyle.allowed_values.get(pos); break; } // font-variant - CssIdent v = CssFontVariant.getAllowedFontVariant(ident); + CssIdent v = org.w3c.css.properties.css21.CssFontVariant.getAllowedFontVariant(ident); if (v != null) { if (fontVariant != null) { throw new InvalidParamException("value",
Received on Sunday, 19 August 2012 11:53:00 UTC