Ticket #3568 (closed bug: invalid)
IE7 error thrown by margin at invalid value
| Reported by: | jamieMcDonnell | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.3 |
| Component: | css | Version: | 1.2.6 |
| Keywords: | IE7 margin | Cc: | mg@… |
| Blocking: | Blocked by: |
Description
IE7 throws an error when an invalid value is passed as undefined. More info here: http://www.n8williams.com/devblog/javascript_and_ajax/jquery-dialog-error-in-ie7-runtime-error-invalid-argument#comment-60
jQuery 1.2.6 line 1120. Local fix:
/* if ( set ) elem[ name ] = value;
return elem[ name ]; if ( value != 'NaNpx' && value != undefined && value != 'none') elem[ name ] = value;
Change History
comment:1 Changed 5 years ago by flesler
- Owner flesler deleted
- Component changed from unfilled to core
comment:2 Changed 3 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
- Component changed from core to css
The comment above the one linked points to the actual problem. Some code outside jQuery is trying to parse "auto" as a number and getting "NaN". Most likely this needs to be fixed in the plugin or code that is calling jQuery. If you can create a test case that demonstrates a problem inside jQuery, attach it and reopen the ticket.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
