Opened 11 years ago

Closed 11 years ago

#6331 closed defect (invalid)

BorderContainer: scrollbar appears on top/bottom panes w/no explicit height setting (Safari 3.1)

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1b1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

If you have top/bottom panes for BorderContainer with no explicit height set, for example

<h1 dojoType="dijit.layout.ContentPane" region="top" splitter="false">
	top bar
</h1>

Then on Safari 3.1 you get unwanted scroll bars.

This occurs on the header on themeTester.html but is more easily seen with the attached testcases.

Correct layout (screenshot from FF3):

Layout w/unwanted scrollbars (screenshot from Safari3.1):

Attachments (4)

safari.png (7.5 KB) - added by bill 11 years ago.
firefox.png (7.5 KB) - added by bill 11 years ago.
scrollbar.html (1.1 KB) - added by bill 11 years ago.
reduced test case (goes in dijit/tests/layout), producing screenshots in description
overflow.png (11.4 KB) - added by Adam Peller 11 years ago.
results as of 2008-07-20 on Safari 3.1.2/Mac

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by bill

Attachment: safari.png added

Changed 11 years ago by bill

Attachment: firefox.png added

Changed 11 years ago by bill

Attachment: scrollbar.html added

reduced test case (goes in dijit/tests/layout), producing screenshots in description

comment:1 Changed 11 years ago by bill

Description: modified (diff)
Summary: BorderContainer: scrollbar appears on top/bottom nodes w/no explicit height setting (Safari 3.1)BorderContainer: scrollbar appears on top/bottom panes w/no explicit height setting (Safari 3.1)

comment:2 Changed 11 years ago by Adam Peller

Description: modified (diff)
Owner: set to Adam Peller

comment:3 Changed 11 years ago by Adam Peller

This seems to have regressed further. Now the container does not layout the three children to fit the height of the parent, but instead the content overflows the bounds. As a result, the scrollbars are no longer present.

results as of 2008-07-20 on Safari 3.1.2/Mac

Changed 11 years ago by Adam Peller

Attachment: overflow.png added

results as of 2008-07-20 on Safari 3.1.2/Mac

comment:4 Changed 11 years ago by Adam Peller

Resolution: invalid
Status: newclosed

The docs currently specify that a height must be specified on top/bottom and width on the sides. Getting this to work would be an enhancement.

Note: See TracTickets for help on using tickets.