Opened 16 years ago
Closed 15 years ago
#2215 closed defect (fixed)
TabContainer height incorrect with Doctype
Reported by: | guest | Owned by: | koranteng |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Widgets | Version: | 0.4.1 |
Keywords: | Tabcontainer Doctype | Cc: | |
Blocked By: | Blocking: |
Description
Doctype is not correct handled when using TabContainer?.
Please uncomment the doctype tag in the TabContainer? demo and you will see what I mean.
Also have a look at http://dojotoolkit.org/pipermail/dojo-interest/2006-July/012990.html
Change History (4)
comment:1 Changed 15 years ago by
Component: | General → Widgets |
---|---|
Milestone: | → 0.9 |
Owner: | changed from anonymous to bill |
comment:2 Changed 15 years ago by
Owner: | changed from bill to koranteng |
---|
comment:3 Changed 15 years ago by
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is actually not a bug - the browsers are behaving correctly as per the css box model spec, when in standards compliance mode, the height of elements of the outermost container is not necessarily the height of the viewport as in quirks mode. To get the desired behaviour one needs a combination of setting the body and html object to have height of 100% and setting min-height judiciously on the tab container, which in any case is a best practice .
Still we can improve our documentation on sizing of widgets and add these recommendations and best practices:
html, body {
}
I've submitted an update to the demo file that updates it to follow these practices.