diff options
author | Richard Worth <rdworth@gmail.com> | 2010-03-11 04:32:07 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-03-11 04:32:07 +0000 |
commit | 493e0395c12065ad22132a34c7e2a72723c75cd1 (patch) | |
tree | bc6197b4b927db45590bef1698b0d1947404cffb /tests/visual/button | |
parent | fe6bef16e40c6e1847f26e20630914c42a6fb8cf (diff) | |
download | jquery-ui-493e0395c12065ad22132a34c7e2a72723c75cd1.tar.gz jquery-ui-493e0395c12065ad22132a34c7e2a72723c75cd1.zip |
button visual tests: minor cleanup of 5254 visual test (removed unused metadata plugin reference), added button input type checkbox visual test
Diffstat (limited to 'tests/visual/button')
-rw-r--r-- | tests/visual/button/button_input_type_checkbox.html | 24 | ||||
-rw-r--r-- | tests/visual/button/button_ticket_5254.html | 4 |
2 files changed, 24 insertions, 4 deletions
diff --git a/tests/visual/button/button_input_type_checkbox.html b/tests/visual/button/button_input_type_checkbox.html new file mode 100644 index 000000000..ae8b01636 --- /dev/null +++ b/tests/visual/button/button_input_type_checkbox.html @@ -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> diff --git a/tests/visual/button/button_ticket_5254.html b/tests/visual/button/button_ticket_5254.html index 31fc63ac2..7699178bc 100644 --- a/tests/visual/button/button_ticket_5254.html +++ b/tests/visual/button/button_ticket_5254.html @@ -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> |