- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 10 Oct 2012 07:46:35 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/parser In directory hutz:/tmp/cvs-serv7216 Modified Files: CssSelectors.java Log Message: reformat Index: CssSelectors.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssSelectors.java,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- CssSelectors.java 4 Aug 2012 21:17:03 -0000 1.36 +++ CssSelectors.java 10 Oct 2012 07:46:33 -0000 1.37 @@ -41,559 +41,559 @@ * @version $Revision$ */ public final class CssSelectors extends SelectorsList - implements CssSelectorsConstant, Comparable<CssSelectors> { + implements CssSelectorsConstant, Comparable<CssSelectors> { - ApplContext ac; + ApplContext ac; - /** - * At rule statement [...1023 lines suppressed...] + if (next == null || selector.next == null) { + // here we are in this case : + // H1 and BODY HTML H1 + // or : + // HTML BODY and BODY (this case won't appear in principle) + Util.verbose("canMatch RETURN " + result); + return canApply(getSelectors(), selector.getSelectors()); + } else { + // here we are in this case : + // BODY H1 and HTML BODY H1 + return next.canMatch(selector.next); + } + } + + public void findConflicts(ApplContext ac, Warnings warnings, + CssSelectors[] allSelectors) { + CssStyle style = getStyle(); + style.findConflicts(ac, warnings, this, allSelectors); + } }
Received on Wednesday, 10 October 2012 07:46:36 UTC