Skip to main content

Bug Tracker

Side navigation

#3568 closed bug (invalid)

Opened November 03, 2008 09:25AM UTC

Closed June 16, 2010 03:10AM UTC

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@mg.to
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;

Attachments (0)
Change History (2)

Changed November 06, 2008 09:52PM UTC by flesler comment:1

component: unfilledcore
owner: flesler

Changed June 16, 2010 03:10AM UTC by dmethvin comment:2

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.