Skip to content
Permalink
Browse files

Modified core and form test suites to use a single stylesheet; Modifi…

…ed form.js to use :submit instead of [@type=submit] and :image...
  • Loading branch information
jzaefferer committed Oct 26, 2006
1 parent f1f3d6f commit 513122442717ee350ce6e7ff6e7227cce54c0444
Showing with 12 additions and 2 deletions.
  1. +8 −0 build/test/data/testsuite.css
  2. +4 −2 build/test/index.html
@@ -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; }
@@ -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;">

0 comments on commit 5131224

Please sign in to comment.
You can’t perform that action at this time.