Skip to main content

Bug Tracker

Side navigation

#2009 closed bug (fixed)

Opened December 05, 2007 09:29AM UTC

Closed December 11, 2007 04:45AM UTC

height() function bugs on table cells belonging to an style.height=auto row

Reported by: shazam Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

When JQuery computes height of a DOM element it swaps its paddings and borders to zero first. This may sometimes change a cell display removing some automatic line breaks and if the parent row has auto height, its height will change and the cell height also.

If the swap on paddings and borders is commented the calculation works fine. So, what is the purpose of the swapping ?

Note : the bug occurred on both IE6 and IE7 but wasn't tested on other browsers.

Attachments (1)
Change History (2)

Changed December 05, 2007 08:39PM UTC by davidserduke comment:1

I haven't tested it at all but is this perhaps related to #1796?

Changed December 11, 2007 04:45AM UTC by brandon comment:2

resolution: → fixed
status: newclosed

Fixed in Rev [4100].