diff options
author | Richard D. Worth <rdworth@gmail.com> | 2010-05-30 05:06:17 -0400 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2010-05-30 05:06:17 -0400 |
commit | 5074bf38d38f7d1f9a230d2c0c2d876615b5c904 (patch) | |
tree | 6b91118faef82b4bf380216f9ad15edd071f6ffc /tests/visual/datepicker | |
parent | 4c3899cd351ffd5225c266815be65a3936a51c68 (diff) | |
download | jquery-ui-5074bf38d38f7d1f9a230d2c0c2d876615b5c904.tar.gz jquery-ui-5074bf38d38f7d1f9a230d2c0c2d876615b5c904.zip |
Datepicker: Added visual test for #5676 - DatePicker Dialog defaultDate incorrect behaviour
Diffstat (limited to 'tests/visual/datepicker')
-rw-r--r-- | tests/visual/datepicker/datepicker_ticket_5676.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/visual/datepicker/datepicker_ticket_5676.html b/tests/visual/datepicker/datepicker_ticket_5676.html new file mode 100644 index 000000000..288cc5c3c --- /dev/null +++ b/tests/visual/datepicker/datepicker_ticket_5676.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8" /> + <title>Datepicker Visual Test : Datepicker ticket #5676</title> + <link href="../visual.css" type="text/css" rel="stylesheet" /> + <link href="../../../themes/base/jquery.ui.all.css" type="text/css" rel="stylesheet"> + <script src="../../../jquery-1.4.2.js"></script> + <script src="../../../ui/jquery.ui.core.js"></script> + <script src="../../../ui/jquery.ui.widget.js"></script> + <script src="../../../ui/jquery.ui.datepicker.js"></script> + <script> + $(function() { + + $('.datepicker').datepicker({ + defaultDate: +7 + }).focus(); + + }); + </script> +</head> +<body> + +<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/5676">#5676 - DatePicker Dialog defaultDate incorrect behaviour</a></h1> + +<div class="datepicker"></div> +<input class="datepicker" /> + +</body> +</html> |