From 8ebef87f2e65429fbebe198aa854c5d5769e46d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Thu, 6 Aug 2009 18:57:44 +0000 Subject: [PATCH] accordion: visual testcase and fix for #4444; probably fixes a few other issues, too, eg. less flickering --- .../accordion/accordion_ticket_4444.html | 49 +++++++++++++++++++ themes/base/ui.accordion.css | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 tests/visual/accordion/accordion_ticket_4444.html 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 @@ + + + + Accordion Visual Test : Accordion ticket #4444 + + + + + + + + + +

#4444 - Accordion Content disappears with autoHeight set to false in IE 6

+ +
+

Section 1

+
+ Accordion Content 1
+ Link Test #1 +
+ +

Section 2

+
+ Accordion Content 2 +
+

Section 3

+
+

Accordion Content 3

+
    +
  • List item
  • +
  • List item
  • +
  • List item
  • +
  • List item
  • +
  • List item
  • +
  • List item
  • +
  • List item
  • +
+
+
+ + + diff --git a/themes/base/ui.accordion.css b/themes/base/ui.accordion.css index dec58193e..acd7f5e1e 100644 --- a/themes/base/ui.accordion.css +++ b/themes/base/ui.accordion.css @@ -6,5 +6,5 @@ .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } .ui-accordion .ui-accordion-content-active { display: block; } \ No newline at end of file -- 2.39.5