W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2007

2002/css-validator/org/w3c/css/selectors PseudoFactory.java,1.3,1.4

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 06 Aug 2007 15:07:09 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1II4An-00043K-5D@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/selectors
In directory hutz:/tmp/cvs-serv15556/org/w3c/css/selectors

Modified Files:
	PseudoFactory.java 
Log Message:
Changing the "css21" string to "css2.1"

Index: PseudoFactory.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/selectors/PseudoFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- PseudoFactory.java	19 Apr 2006 11:28:06 -0000	1.3
+++ PseudoFactory.java	6 Aug 2007 15:07:07 -0000	1.4
@@ -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("css21")) {
+	if(profile == null || profile.equals("css2")|| profile.equals("css2.1")) {
 	    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("css21")
+	if(profile == null || profile.equals("css2") || profile.equals("css2.1")
 	    || 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("css21") ||
+	if(profile == null || profile.equals("css2") || profile.equals("css2.1") ||
 		profile.equals("mobile") || profile.equals("tv")) {
 	    return PSEUDOFUNCTION_CONSTANTSCSS2;
 	}
Received on Monday, 6 August 2007 15:07:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:33:19 GMT