button visual tests: minor cleanup of 5254 visual test (removed unused metadata plugin reference), added button input type checkbox visual test

This commit is contained in:
Richard Worth 2010-03-11 04:32:07 +00:00
parent fe6bef16e4
commit 493e0395c1
2 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Button Visual Test : Button input type checkbox</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
<script type="text/javascript">
$(function() {
$('#check').button();
});
</script>
</head>
<body>
<input type="checkbox" id="check" /><label for="check">Toggle</label>
</body>
</html>

View File

@ -4,11 +4,7 @@
<title>Button Visual Test : Button ticket #5254</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
<style type="text/css">
#vt { background:#dff;padding:3px; }
</style>
<script type="text/javascript" src="../../../jquery-1.4.2.js"></script>
<script type="text/javascript" src="../../../external/jquery.metadata.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>