Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#808 closed defect (fixed)

LayoutContainer: random order for multiple panes in same position

Reported by: bill Owned by: bill
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

From dojo-interest:

The code below gives different results in IE and Firefox... Running latest svn of dojo.

In IE5 & 7, I get

top 1 top 2 top 3 top 4 client area

as expected

In Firefox 1.5.0.3, I get

top 3 top 2 top 4 top 1 client area

Should I be able to have multiple top panes?

<html> <head> <title>layout test</title> <script src="scripts/dojo/dojo.js" type="text/javascript"></script> <script type="text/javascript">

dojo.require("dojo.widget.ContentPane?"); dojo.require("dojo.widget.LayoutContainer?");

</script> </head> <body> <div dojoType="LayoutContainer?" layoutChildPriority='top-bottom' style="width: 100%; height: 100%;">

<div dojoType="ContentPane?" layoutAlign="top" executeScripts="true">top 1</div> <div dojoType="ContentPane?" layoutAlign="top" executeScripts="true">top 2</div> <div dojoType="ContentPane?" layoutAlign="top" executeScripts="true">top 3</div> <div dojoType="ContentPane?" layoutAlign="top" executeScripts="true">top 4</div> <div dojoType="ContentPane?" layoutAlign="client" executeScripts="true">client area</div>

</div> </body> </html>

Change History (2)

comment:1 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

Fixed in [4180]

comment:2 Changed 12 years ago by (none)

Milestone: 0.3.1

Milestone 0.3.1 deleted

Note: See TracTickets for help on using tickets.