Ticket #2127 (closed defect: fixed)
IPanel height calculation in IE
| Reported by: | Artur Signell | Owned by: | Artur Signell |
|---|---|---|---|
| Priority: | major | Milestone: | User Interface Library 5.3.0 RC |
| Component: | gwt-adapter-client | Version: | trunk |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | no | Contract: | |
Description
Calculation of the panel's content area height fails on first run in IE. The code:
final int usedHeight = DOM.getElementPropertyInt(bottomDecoration,
"offsetTop")
+ DOM.getElementPropertyInt(bottomDecoration,
"offsetHeight")
- DOM.getElementPropertyInt(getElement(), "offsetTop");
produces the wrong result because the empty contentNode in the Panel has a height of 20 pixels in IE when it should be 2px.
Change History
Note: See
TracTickets for help on using
tickets.
