WineHQ:winetest: produce valid HTML

Ferenc Wagner wferi at afavant.elte.hu
Wed Jan 12 10:29:18 CST 2005


ChangeLog: * Generate valid HTML 4.01 Strict.
           * Underline vis_note class links, too.

Feri.

Index: winetest/gather
===================================================================
RCS file: /home/wine/tools/winetest/gather,v
retrieving revision 1.14
diff -u -r1.14 gather
--- winetest/gather	11 Jan 2005 17:39:50 -0000	1.14
+++ winetest/gather	12 Jan 2005 16:22:32 -0000
@@ -179,12 +179,12 @@
 <table class="navbar">
   <tr>
     <td class="left">
-      <a href="/site?testing=prev&current=$build">Previous build</a>
+      <a href="/site?testing=prev&amp;current=$build">Previous build</a>
     </td>
     <td><script type="text/javascript" src="../../summary.js"></script
         ><noscript><p>JavaScript support missing</p></noscript></td>
     <td class="right">
-      <a href="/site?testing=next&current=$build">Next build</a>
+      <a href="/site?testing=next&amp;current=$build">Next build</a>
     </td>
   </tr>
 </table>
@@ -233,7 +233,7 @@
         href="$file"
         title="$count tests, $todo TODO, $error errors"
         onMouseOver="refresh('$testname','$groupname $test->{tag}',$count,$todo,$error);"
-        ><div>$error</div></a></td>
+        >$error</a></td>
 EOF
         }
     }
@@ -260,7 +260,7 @@
                 print OUT <<"EOF";
       <td class="$class"><a $href$title
         onMouseOver="refresh('$testname','$group->{name}','-','-','$errors');"
-        ><div>$max</div></a></td>
+        >$max</a></td>
 EOF
             } else {
                 print OUT "      <td class=\"note\"><a $href>.</a></td>\n";
Index: winetest/summary.css
===================================================================
RCS file: /home/wine/tools/winetest/summary.css,v
retrieving revision 1.5
diff -u -r1.5 summary.css
--- winetest/summary.css	11 Jan 2005 15:59:33 -0000	1.5
+++ winetest/summary.css	12 Jan 2005 16:22:32 -0000
@@ -77,7 +77,8 @@
         border-left-color: #ffffff;
         border-right-color: #0070ff;
 }
-table.report td.note :link, table.report td.note :visited {
+table.report td.note :link, table.report td.note :visited,
+table.report td.vis_note :link, table.report td.vis_note :visited {
         text-decoration: underline;
 }
 table.report td.test :link {
@@ -85,6 +86,9 @@
 }
 table.report td.test {
         text-align: left;
+}
+table.report td a {
+        display: block;
 }
 form td {
         text-align: left;



More information about the wine-patches mailing list