2002/css-validator/autotest/client sample.html,1.2,1.3

Update of /sources/public/2002/css-validator/autotest/client
In directory hutz:/tmp/cvs-serv21742

Modified Files:
	sample.html 
Log Message:
automatically generate tests on load


Index: sample.html
===================================================================
RCS file: /sources/public/2002/css-validator/autotest/client/sample.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sample.html	3 Mar 2009 20:24:01 -0000	1.2
+++ sample.html	3 Mar 2009 22:49:57 -0000	1.3
@@ -26,13 +26,18 @@
     <script type="text/javascript" src="functions.js"></script>
     <script type="text/javascript" src="checktests.js"></script>
     <script type="text/javascript" src="buildtest.js"></script>
+    <script type="text/javascript">
+      function initAllTests() {
+	  getTestList('../testsuite/xml/bugs.xml');
+	  getTestList('../testsuite/xml/general.xml');
+	  getTestList('../testsuite/xml/propertiesCSS1.xml');
+	  getTestList('../testsuite/xml/propertiesCSS2.xml');
+	  getTestList('../testsuite/xml/propertiesCSS3.xml');
+      }
+    </script>
   </head>
-  <body>
+  <body onload="initAllTests()">
     <div id="tableanchor">
-      <p onclick="getTestList('../testsuite/xml/bugs.xml')">Create Test Table for Bugs</p>
-      <p onclick="getTestList('../testsuite/xml/general.xml')">Create Test Table for General</p>
-      <p onclick="getTestList('../testsuite/xml/propertiesCSS2.xml')">Create Test Table for CSS2</p>
-    </div>
     </div>
   </body>
 </html>

Received on Tuesday, 3 March 2009 22:50:08 UTC