Modified core and form test suites to use a single stylesheet; Modified form.js to use :submit instead of [@type=submit] and :image...
This commit is contained in:
parent
f1f3d6f300
commit
5131224427
2 changed files with 12 additions and 2 deletions
8
build/test/data/testsuite.css
Normal file
8
build/test/data/testsuite.css
Normal file
|
@ -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;">
|
||||
|
|
Loading…
Reference in a new issue