diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-10-26 10:58:23 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-10-26 10:58:23 +0000 |
commit | 513122442717ee350ce6e7ff6e7227cce54c0444 (patch) | |
tree | 4f9c1258ac74495ee53ff69ed31f1eccc3399ee3 /build/test | |
parent | f1f3d6f300f6db94910b11f387c7f9b741627c02 (diff) | |
download | jquery-513122442717ee350ce6e7ff6e7227cce54c0444.tar.gz jquery-513122442717ee350ce6e7ff6e7227cce54c0444.zip |
Modified core and form test suites to use a single stylesheet; Modified form.js to use :submit instead of [@type=submit] and :image...
Diffstat (limited to 'build/test')
-rw-r--r-- | build/test/data/testsuite.css | 8 | ||||
-rw-r--r-- | build/test/index.html | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/build/test/data/testsuite.css b/build/test/data/testsuite.css new file mode 100644 index 000000000..e7618fffd --- /dev/null +++ b/build/test/data/testsuite.css @@ -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 diff --git a/build/test/index.html b/build/test/index.html index c07230f49..1a8c176a0 100644 --- a/build/test/index.html +++ b/build/test/index.html @@ -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;"> |