#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>
Fixed in [4180]