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

2002/css-validator/org/w3c/css/media AtRuleMedia.java,1.1,1.2

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 21 Oct 2011 12:52:31 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RHEaN-0006Zh-14@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/media
In directory hutz:/tmp/cvs-serv25180/css/media

Modified Files:
	AtRuleMedia.java 
Log Message:
parsing of mediaquerylist for html links is now done reusing the same logic (parsing mediaquerylist form the parser, using a String Reader), so that should finish media queries per http://www.w3.org/TR/2010/CR-css3-mediaqueries-20100727/

Index: AtRuleMedia.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/media/AtRuleMedia.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- AtRuleMedia.java	21 Oct 2011 01:49:06 -0000	1.1
+++ AtRuleMedia.java	21 Oct 2011 12:52:28 -0000	1.2
@@ -26,6 +26,14 @@
                                          ApplContext ac) throws InvalidParamException;
 
     /**
+     * Adds a media
+     */
+    public AtRuleMedia addMedia(Media m) {
+        allMedia.add(m);
+        return this;
+    }
+
+    /**
      * Add a media feature to the current media, like (color:1)
      *
      * @param feature, the CssProperty
Received on Friday, 21 October 2011 12:52:32 UTC

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