Bug Tracker

Modify

Ticket #2009 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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:
Blocking: Blocked by:

Description

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

sizeBugOnCells.html Download (1.8 KB) - added by shazam 6 years ago.
bug sample

Change History

Changed 6 years ago by shazam

bug sample

comment:1 Changed 6 years ago by davidserduke

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

comment:2 Changed 6 years ago by brandon

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in Rev [4100].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.