- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 15 Dec 2006 02:22:14 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css In directory hutz:/tmp/cvs-serv18570/org/w3c/css/css Modified Files: CssValidator.java Log Message: per current discussions with CSS WG, * making css21 the default profile * leaving css2 profile available and untouched for now Index: CssValidator.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/css/CssValidator.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CssValidator.java 12 Dec 2006 05:09:02 -0000 1.2 +++ CssValidator.java 15 Dec 2006 02:22:12 -0000 1.3 @@ -115,16 +115,16 @@ // CSS version to use String profile = (String) style.params.get("profile"); if (profile != null && !"none".equals(profile)) { - if ("css1".equals(profile) || "css2".equals(profile) + if ("css1".equals(profile) || "css2".equals(profile) || "css21".equals(profile) || "css3".equals(profile) || "svg".equals(profile) || "svgbasic".equals(profile) || "svgtiny".equals(profile)) { style.ac.setCssVersion(profile); } else { style.ac.setProfile(profile); - style.ac.setCssVersion("css2"); + style.ac.setCssVersion("css21"); } } else { - style.ac.setCssVersion("css2"); + style.ac.setCssVersion("css21"); } // medium to use
Received on Friday, 15 December 2006 02:22:26 UTC