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

2002/css-validator/org/w3c/css/css StyleSheetCom.java,1.20,1.21

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 09 Aug 2007 09:29:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IJ4KH-0007OO-C3@lionel-hutz.w3.org>

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

Modified Files:
	StyleSheetCom.java 
Log Message:
Changing back "css2.1" to "css21" so that requested format is valid.
Sorry about that.

Index: StyleSheetCom.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetCom.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- StyleSheetCom.java	6 Aug 2007 13:39:06 -0000	1.20
+++ StyleSheetCom.java	9 Aug 2007 09:29:02 -0000	1.21
@@ -159,7 +159,7 @@
 		    style.defaultmedium = argument;
 		} else if (argument.equals("css1") ||
                           argument.equals("css2") ||
-                          argument.equals("css2.1") ||
+                          argument.equals("css21") ||
                           argument.equals("css3") ||
 			   argument.equals("svg") ||
 			   argument.equals("svgbasic") ||
@@ -185,10 +185,10 @@
 		style.ac.setCssVersion(style.cssversion);
 	    if (style.profile != null) {
 		style.ac.setProfile(style.profile);
-		style.ac.setCssVersion("css2.1");
+		style.ac.setCssVersion("css21");
 	    }
 	    if (style.cssversion == null && style.ac.getCssVersion() == null) {
-		style.ac.setCssVersion("css2.1");
+		style.ac.setCssVersion("css21");
 	    }
 	} catch (Exception e) {
 	    /* System.out.println( "Usage: validator " +
Received on Thursday, 9 August 2007 09:29:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:24 UTC