Skip to main content

Bug Tracker

Side navigation

#9483 closed bug (invalid)

Opened June 01, 2011 02:14PM UTC

Closed June 16, 2011 07:53AM UTC

outerwidth(true) resets table cell styles from undefined to empty in Safari

Reported by: sforman71 Owned by: sforman71
Priority: undecided Milestone:
Component: unfiled Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

I tried to set up a simple test case, but was unable to.

The page has a table. I use outerWidth(true) to find the widths of the table cells. As it traverses the row, Safari adds a blank cell before each table cell effectively doubling the number of cells.

$('tbody',$table).children('tr:first').children('td').each(function(idx) {

            // Get the width of this cell and add a padding.
            var cell_width = $(this).outerWidth(true) + sr_mob_table_cell_pad;


This is only in Safari. Not Chrome. Haven't checked IE.

When checking the dom the only difference I see is that the outerWidth(false) leaves the style attribute undefined, while outerWidth(true) adds an empty style attribute.

Attachments (0)
Change History (2)

Changed June 01, 2011 06:16PM UTC by dmethvin comment:1

owner: → sforman71
status: newpending

Sorry, but there's no way to investigate this further without more info. Can you perhaps try again to create a test case in jsFiddle?

Changed June 16, 2011 07:53AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!