Bug Tracker

Opened 11 years ago

Closed 10 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: mg@…
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 11 years ago by flesler

Component: unfilledcore
Owner: flesler deleted

comment:2 Changed 10 years ago by dmethvin

Component: corecss
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.