Opened 15 years ago
Closed 15 years ago
#1779 closed bug (fixed)
javascript error in FF when running an animation in a hidden iframe
Reported by: | davidserduke | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.2 |
Component: | core | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When animation code is placed in an iframe that is hidden, there is the following javascript error.
document.defaultView.getComputedStyle(elem,null).getPropertyValue has no properties jquery.js Line: 731
Interestingly enough, while this might seem like an obscure bug, this is exactly the code we are using in the wiki for demos. Attached is an example of the bug.
Attachments (2)
Change History (4)
Changed 15 years ago by
Changed 15 years ago by
comment:1 Changed 15 years ago by
I think this patch might fix the problem. It does fix the test case. As you can see, all it does is check to make sure the getComputedStyle has a value before trying to call its getPropertyValue() function.
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in revision [3644]. Thanks for the patch David!
Note: See
TracTickets for help on using
tickets.
test case for the bug