mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
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 type="text/javascript" src="data/testrunner.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
$('#userAgent').html(navigator.userAgent);
|
||||||
runTest(function() {
|
runTest(function() {
|
||||||
{TESTS}
|
{TESTS}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
|
<link rel="Stylesheet" media="screen" href="data/testsuite.css" />
|
||||||
</head>
|
</head>
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<h1>jQuery - Test Suite</h1>
|
<h1 id="banner">jQuery Core - Test Suite</h1>
|
||||||
|
<h2 id="userAgent"></h2>
|
||||||
|
|
||||||
<!-- Test HTML -->
|
<!-- Test HTML -->
|
||||||
<dl style="display:none;">
|
<dl style="display:none;">
|
||||||
|
Loading…
Reference in New Issue
Block a user