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:
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 comment:1
component: | unfilled → core |
---|---|
owner: | flesler |
Changed June 16, 2010 03:10AM UTC by comment:2
component: | core → css |
---|---|
resolution: | → invalid |
status: | new → closed |
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.