diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-08-06 18:57:44 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-08-06 18:57:44 +0000 |
commit | 8ebef87f2e65429fbebe198aa854c5d5769e46d8 (patch) | |
tree | 7373644b00f77bba065aca1fc95c04ea25eadb8f /tests | |
parent | 425e76355a289341eb588874e04b82afdc9eeb99 (diff) | |
download | jquery-ui-8ebef87f2e65429fbebe198aa854c5d5769e46d8.tar.gz jquery-ui-8ebef87f2e65429fbebe198aa854c5d5769e46d8.zip |
accordion: visual testcase and fix for #4444; probably fixes a few other issues, too, eg. less flickering
Diffstat (limited to 'tests')
-rw-r--r-- | tests/visual/accordion/accordion_ticket_4444.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/visual/accordion/accordion_ticket_4444.html b/tests/visual/accordion/accordion_ticket_4444.html new file mode 100644 index 000000000..778af73bd --- /dev/null +++ b/tests/visual/accordion/accordion_ticket_4444.html @@ -0,0 +1,49 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>Accordion Visual Test : Accordion ticket #4444</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.2.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#accordion").accordion({
+ autoHeight: false
+ });
+ })
+ </script>
+</head>
+<body>
+
+<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4444">#4444 - Accordion Content disappears with autoHeight set to false in IE 6</a></h1>
+
+<div id="accordion" >
+ <h3><a href="#">Section 1</a></h3>
+ <div >
+ Accordion Content 1<br>
+ <a href="#">Link Test #1</a>
+ </div>
+
+ <h3><a href="#">Section 2</a></h3>
+ <div>
+ <a href="#" >Accordion Content 2</a>
+ </div>
+ <h3><a href="#">Section 3</a></h3>
+ <div>
+ <p>Accordion Content 3 </p>
+ <ul>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ </ul>
+ </div>
+</div>
+
+</body>
+</html>
|