- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 16 Sep 2005 13:33:54 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/parser In directory hutz:/tmp/cvs-serv14298/org/w3c/css/parser Modified Files: CssSelectors.java CssStyle.java Log Message: (Jean-Guilhem Rouel) Fixes issues with warning and multiple definitions in the CSS of the same selector Index: CssSelectors.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssSelectors.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- CssSelectors.java 14 Sep 2005 15:14:18 -0000 1.17 +++ CssSelectors.java 16 Sep 2005 13:33:52 -0000 1.18 @@ -8,6 +8,7 @@ package org.w3c.css.parser; import java.util.ArrayList; +import java.util.Enumeration; import org.w3c.css.properties.css1.CssProperty; import org.w3c.css.selectors.AdjacentSelector; @@ -587,4 +588,10 @@ return next.canMatch(selector.next); } } + + public void findConflicts(ApplContext ac, Warnings warnings, + Enumeration allSelectors) { + CssStyle style = getStyle(); + style.findConflicts(ac, warnings, this, allSelectors); + } } Index: CssStyle.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssStyle.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- CssStyle.java 14 Sep 2005 15:14:18 -0000 1.7 +++ CssStyle.java 16 Sep 2005 13:33:52 -0000 1.8 @@ -98,7 +98,7 @@ * @param allSelectors All contexts is the entire style sheet. */ public void findConflicts(ApplContext ac, Warnings warnings, - Enumeration allSelectors) { + CssSelectors selector, Enumeration allSelectors) { // nothing to do } }
Received on Friday, 16 September 2005 13:34:45 UTC