]> source.dussan.org Git - jquery.git/commitdiff
Modified core and form test suites to use a single stylesheet; Modified form.js to...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 26 Oct 2006 10:58:23 +0000 (10:58 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 26 Oct 2006 10:58:23 +0000 (10:58 +0000)
build/test/data/testsuite.css [new file with mode: 0644]
build/test/index.html

diff --git a/build/test/data/testsuite.css b/build/test/data/testsuite.css
new file mode 100644 (file)
index 0000000..e7618ff
--- /dev/null
@@ -0,0 +1,8 @@
+body, div, h1 { font-family: 'trebuchet ms', verdana, arial; margin: 0; padding: 0 }
+body { margin: 0; padding: 0; font-size: small; }
+h1 { padding: 15px; margin: 0; font-size: large; background-color: #06b; color: white; border-bottom: 1px solid #ccc }
+h2 { padding: 10px; background-color: #eee; color: black; margin: 0; font-size: small; font-weight: normal }
+
+.pass { color: green; } 
+.fail { color: red; } 
+#tests ol { display: none; margin-left: 1em; }
\ No newline at end of file
index c07230f49b377a793b27135cdefddeafff6ff256..1a8c176a024838628013a5607aea0ad105e11174 100644 (file)
@@ -4,15 +4,17 @@
        <script type="text/javascript" src="data/testrunner.js"></script>
        <script>
        $(document).ready(function(){
+               $('#userAgent').html(navigator.userAgent);
                runTest(function() {
                        {TESTS}
                });
        });
        </script>
-       <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
+       <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
 </head>
 <body id="body">
-       <h1>jQuery - Test Suite</h1>
+       <h1 id="banner">jQuery Core - Test Suite</h1>
+       <h2 id="userAgent"></h2>
        
        <!-- Test HTML -->
        <dl style="display:none;">