- From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 13 Sep 2007 09:59:29 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/parser In directory hutz:/tmp/cvs-serv16236/org/w3c/css/parser Modified Files: CssFouffa.java Log Message: Changing some tests so that when no profile is set, the validator acts as if the profile was "none" Index: CssFouffa.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssFouffa.java,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- CssFouffa.java 10 Aug 2007 10:45:18 -0000 1.39 +++ CssFouffa.java 13 Sep 2007 09:59:27 -0000 1.40 @@ -125,7 +125,7 @@ } String profile = ac.getProfile(); - if (profile == null || profile.equals("")) { + if (profile == null || profile.equals("") || profile.equals("none")) { profile = ac.getCssVersion(); } @@ -240,7 +240,7 @@ } String profile = ac.getProfile(); - if (profile == null || profile.equals("")) { + if (profile == null || profile.equals("") || profile.equals("none")) { profile = ac.getCssVersion(); }
Received on Thursday, 13 September 2007 09:59:32 UTC