W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2011

2002/css-validator/org/w3c/css/util ApplContext.java,1.22,1.23

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 29 Sep 2011 09:09:01 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1R9Cc1-0006fh-TK@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv25474/org/w3c/css/util

Modified Files:
	ApplContext.java 
Log Message:
getting rid of multiple classes for Color value

Index: ApplContext.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/ApplContext.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- ApplContext.java	26 Sep 2011 14:32:16 -0000	1.22
+++ ApplContext.java	29 Sep 2011 09:08:59 -0000	1.23
@@ -209,6 +209,11 @@
             String low = spec.toLowerCase();
             version = CssVersion.resolve(this, low);
             profile = CssProfile.resolve(this, low);
+            // some special cases...
+            // http://www.atsc.org/cms/index.php/standards/published-standards/71-atsc-a100-standard
+            if (profile.equals(CssProfile.ATSCTV)) {
+                version = CssVersion.CSS2;
+            }
         }
     }
 
Received on Thursday, 29 September 2011 09:09:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:46 UTC