- From: Karl Dubost via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 12 Dec 2006 01:49:03 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css In directory hutz:/tmp/cvs-serv18846 Modified Files: CssRuleList.java Log Message: replacing lists markup by div. Index: CssRuleList.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/css/CssRuleList.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- CssRuleList.java 26 Apr 2006 12:44:14 -0000 1.12 +++ CssRuleList.java 12 Dec 2006 01:49:01 -0000 1.13 @@ -126,22 +126,22 @@ public void toHTML(PrintWriter out) { if (null != atRule && atRule.isEmpty()) { if (!atRuleString.equals("")) { - out.print("<li><span class='atSelector'>"); + out.print("<div><span class='atSelector'>"); out.print(Util.escapeHTML(atRuleString)); - out.print("</span></li> \n\n"); + out.print("</span></div> \n\n"); } } else { if (!atRuleString.equals("")) { - out.print("<li><span class='atSelector'>"); + out.print("<div><span class='atSelector'>"); out.print(Util.escapeHTML(atRuleString)); - out.print("</span> {\n<ul>\n"); + out.print("</span> {\n<div>\n"); } for (int i = 0; i < rulelist.size() ; i++ ) { ((CssStyleRule)rulelist.elementAt(i)).toHTML(out); } if (!atRuleString.equals("")) { - out.print("</ul>}</li>\n"); + out.print("</div>}</div>\n"); } } }
Received on Tuesday, 12 December 2006 01:49:14 UTC