Opened 12 years ago
Closed 12 years ago
#9483 closed bug (invalid)
outerwidth(true) resets table cell styles from undefined to empty in Safari
Reported by: | sforman71 | Owned by: | sforman71 |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Change History (2)
comment:1 Changed 12 years ago by
Owner: | set to sforman71 |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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!
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?