Opened 11 years ago

Closed 11 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:

Description

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="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>

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

<style type="text/css">

@import "http://o.aolcdn.com/dojo/1.0.0/dijit/themes/tundra/tundra.css"; @import "http://o.aolcdn.com/dojo/1.0.0/dojo/resources/dojo.css"

</style> <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.0.0/dojo/dojo.xd.js"

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

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

</script>

</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>

</div>

</div>

</body> </html>

Ektor.

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by guest

Attachment: AccordionTest.html added

comment:1 Changed 11 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.