- From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 07 Aug 2007 09:48:48 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/selectors In directory hutz:/tmp/cvs-serv24080/org/w3c/css/selectors Modified Files: PseudoFactory.java Log Message: Changing back "css2.1" to "css21" so that requested format is valid. Sorry about that. Index: PseudoFactory.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/selectors/PseudoFactory.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- PseudoFactory.java 6 Aug 2007 15:07:07 -0000 1.4 +++ PseudoFactory.java 7 Aug 2007 09:48:45 -0000 1.5 @@ -75,7 +75,7 @@ * @return the possible pseudo-classes for the profile */ public static String[] getPseudoClass(String profile) { - if(profile == null || profile.equals("css2")|| profile.equals("css2.1")) { + if(profile == null || profile.equals("css2")|| profile.equals("css21")) { return PSEUDOCLASS_CONSTANTSCSS2; } if(profile.equals("css1")) { @@ -99,7 +99,7 @@ * @return the possible pseudo-elements for the profile */ public static String[] getPseudoElement(String profile) { - if(profile == null || profile.equals("css2") || profile.equals("css2.1") + if(profile == null || profile.equals("css2") || profile.equals("css21") || profile.equals("tv")) { return PSEUDOELEMENT_CONSTANTSCSS2; } @@ -118,7 +118,7 @@ * @return the possible pseudo-functions for the profile */ public static String[] getPseudoFunction(String profile) { - if(profile == null || profile.equals("css2") || profile.equals("css2.1") || + if(profile == null || profile.equals("css2") || profile.equals("css21") || profile.equals("mobile") || profile.equals("tv")) { return PSEUDOFUNCTION_CONSTANTSCSS2; }
Received on Tuesday, 7 August 2007 09:48:50 UTC