Opened 14 years ago
Closed 13 years ago
#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: | [email protected]… |
Blocked by: | Blocking: |
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 (2)
comment:1 Changed 14 years ago by
Component: | unfilled → core |
---|---|
Owner: | flesler deleted |
comment:2 Changed 13 years ago by
Component: | core → css |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.