Side navigation
#6196 closed bug (invalid)
Opened March 01, 2010 06:33PM UTC
Closed December 02, 2010 08:07AM UTC
IE error in curCSS on pixel recalculation
Reported by: | Max_B | Owned by: | Max_B |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | css | Version: | 1.4.2 |
Keywords: | curCSS IE rnumpx | Cc: | |
Blocked by: | Blocking: |
Description
The code block to recalculate pixel values raise an error on IE(8), when the current property is margin with a composite value like "5% auto auto 20px".
Line 4724 of jquery-1.4.2.src.
As I'm not sure of the best workaround, I have added a check on the property like this:
line 4718: if ( !rnumpx.test( ret ) && rnum.test( ret ) && camelCase != 'margin') {
Attachments (0)
Change History (3)
Changed June 15, 2010 12:13AM UTC by comment:1
component: | unfiled → css |
---|
Changed October 31, 2010 09:14AM UTC by comment:2
owner: | → Max_B |
---|---|
priority: | → undecided |
status: | new → pending |
Please provide a working test case on jsFiddle demonstrating this issue. Thanks!
Changed December 02, 2010 08:07AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Automatically closed due to 14 days of inactivity.
The problem is because the value is from a shorthand property. Not sure how to handle this either; perhaps return a string for any property with embedded spaces?