Ticket #2127 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

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

Changed 3 months ago by Artur Signell

  • status changed from new to accepted

Changed 3 months ago by Artur Signell

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in [5570]

Note: See TracTickets for help on using tickets.