Opened 14 years ago

Closed 14 years ago

#5943 closed defect (invalid)

AccordionPane portability issue

Reported by: guest Owned by:
Priority: high Milestone: 1.1
Component: Dijit Version: 1.0
Keywords: AccordionPane hight style portability Firefox IE Cc:
Blocked By: Blocking:


The accodionpane isn't rendered the same way under IE and FF. Under IE, you don't need to specify the Height in the style, under FF, if you don't, you will be unable to open the panes.

The following page highlights this comportment.

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01 TransitionalEN"> <html xmlns="" xml:lang="en" lang="en"> <head>

<meta content="text/html; charset=utf-8" http-equiv="content-type" />

<style type="text/css">

@import ""; @import ""

</style> <script type="text/javascript" src=""

djConfig="parseOnLoad: true"></script> <script type="text/javascript">

dojo.require("dijit.layout.ContentPane?"); dojo.require("dijit.layout.AccordionContainer?"); dojo.require("dojo.parser");


</head> <body class="tundra">

<div dojoType="dijit.layout.AccordionContainer?" duration="200"

style="width: 185px; overflow: hidden"> <div dojoType="dijit.layout.AccordionPane?" title="Search" selected="true">

<H1>toto</H1> <H1>titi</H1>

</div> <div dojoType="dijit.layout.AccordionPane?" title="Search2">

<H1>toto2</H1> <H1>titi2</H1>



</body> </html>


Attachments (1)

AccordionTest.html (1.1 KB) - added by guest 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by guest

Attachment: AccordionTest.html added

comment:1 Changed 14 years ago by bill

Resolution: invalid
Status: newclosed

You are required to specify height and width for AccordionContainer? (not the AccordionPane?), regardless of what browser you are on. If the above code works at all, it's just because you are getting lucky. It isn't valid.

Note: See TracTickets for help on using tickets.