- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 26 Aug 2005 14:09:51 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/parser
In directory hutz:/tmp/cvs-serv31827/org/w3c/css/parser
Modified Files:
CssFouffa.java CssSelectors.java
Log Message:
All changes made by Jean-Guilhem Rouel:
Fix for bugs: 1269, 979, 791, 777, 776, 767, 765, 763, 576, 363
Errors in font, the handling of 'transparent', CSS Parser reinits...
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269
http://www.w3.org/Bugs/Public/show_bug.cgi?id=979
http://www.w3.org/Bugs/Public/show_bug.cgi?id=791
http://www.w3.org/Bugs/Public/show_bug.cgi?id=777
http://www.w3.org/Bugs/Public/show_bug.cgi?id=776
http://www.w3.org/Bugs/Public/show_bug.cgi?id=767
http://www.w3.org/Bugs/Public/show_bug.cgi?id=765
http://www.w3.org/Bugs/Public/show_bug.cgi?id=763
http://www.w3.org/Bugs/Public/show_bug.cgi?id=576
http://www.w3.org/Bugs/Public/show_bug.cgi?id=363
Index: CssSelectors.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssSelectors.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- CssSelectors.java 23 Aug 2005 16:22:54 -0000 1.12
+++ CssSelectors.java 26 Aug 2005 14:09:49 -0000 1.13
@@ -17,6 +17,7 @@
import org.w3c.css.util.Utf8Properties;
import org.w3c.css.util.Util;
import org.w3c.css.util.Warnings;
+import org.w3c.util.Trace;
/**
* This class manages all contextual selector.
@@ -76,34 +77,34 @@
// true if the element is a block-level element
private boolean isBlock;
[...1180 lines suppressed...]
+
+ while ((++current < classes.length) && !classes[current])
+ /* nothing */;
}
-
+
public boolean hasMoreElements() {
return (current != classes.length);
}
-
+
public Object nextElement() {
String v = values[current];
- while ((++current < classes.length) && !classes[current])
- /* nothing */;
+ while ((++current < classes.length) && !classes[current])
+ /* nothing */;
return v;
}
}
Index: CssFouffa.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssFouffa.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- CssFouffa.java 23 Aug 2005 16:22:54 -0000 1.32
+++ CssFouffa.java 26 Aug 2005 14:09:49 -0000 1.33
@@ -623,8 +623,8 @@
* used for the output of the stylesheet
*
* @param charset
- * the
- * @charset rule that has been found by the parser
+ * the @charset
+ * rule that has been found by the parser
*/
public void addCharSet(String charset) {
for (Enumeration e = listeners.elements(); e.hasMoreElements();) {
Received on Friday, 26 August 2005 14:10:15 UTC