]> source.dussan.org Git - jquery-ui.git/commitdiff
button visual tests: minor cleanup of 5254 visual test (removed unused metadata plugi...
authorRichard Worth <rdworth@gmail.com>
Thu, 11 Mar 2010 04:32:07 +0000 (04:32 +0000)
committerRichard Worth <rdworth@gmail.com>
Thu, 11 Mar 2010 04:32:07 +0000 (04:32 +0000)
tests/visual/button/button_input_type_checkbox.html [new file with mode: 0644]
tests/visual/button/button_ticket_5254.html

diff --git a/tests/visual/button/button_input_type_checkbox.html b/tests/visual/button/button_input_type_checkbox.html
new file mode 100644 (file)
index 0000000..ae8b016
--- /dev/null
@@ -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>
index 31fc63ac28b95a80b179ec56c113e7e0ff017460..7699178bcadfb586d33548c5fa5b65a39780c7fa 100644 (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>