Skip to main content

Bug Tracker

Side navigation

#11293 closed bug (fixed)

Opened February 06, 2012 09:20PM UTC

Closed June 07, 2012 03:08PM UTC

Reading width or outerWidth of empty TDs alters columns width values

Reported by: enzole Owned by: mikesherov
Priority: low Milestone: 1.8
Component: dimensions Version: git
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery 1.7.1: Trying to get widths of empty cells produces a scrambled table:

have a look at this example

This happens only on WebKit browsers (tested on Safari 5.1.2 mac/pc and Chrome 16.0.whatever mac/pc).

Attachments (0)
Change History (7)

Changed February 06, 2012 10:10PM UTC by addyosmani comment:1

priority: undecidedlow
status: newopen

Weird. What I'm experiencing (even without the last line modifying anything) is a style tag being injected where it shouldn't be (confirmed Chrome Canary):

http://addyosmani.com/gyazo/7421c2.png

Changed May 29, 2012 01:26AM UTC by mikesherov comment:2

component: unfileddimensions
milestone: None1.8
owner: → mikesherov
status: openassigned
version: 1.7.1git

Changed May 29, 2012 01:27AM UTC by mikesherov comment:3

related to #11696

Changed June 02, 2012 06:37PM UTC by mikesherov comment:4

#11696 is a duplicate of this ticket.

Changed June 02, 2012 06:52PM UTC by mikesherov comment:5

Changed June 02, 2012 07:20PM UTC by mikesherov comment:6

#11522 is a duplicate of this ticket.

Changed June 07, 2012 03:08PM UTC by Mike Sherov comment:7

resolution: → fixed
status: assignedclosed

Don't swap to measure dimensions unless the element is display:none. #807 Fixes #11293

Changeset: c80bc227280e9708dc9c3613ece9397f55f382ed