Ticket #7608 (closed bug: fixed)
Opera 10.63 - animate width fails when inline style initialized to "width: 0%"
| Reported by: | mechismo | Owned by: | rwaldron |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.5 |
| Component: | css | Version: | 1.4.4 |
| Keywords: | regression | Cc: | |
| Blocking: | Blocked by: |
Description
Line 5407 appears to be the culprit. Worked in 1.4.3 but a re-factor in 1.4.4 (lines 5475 - 5526) results in elem.runtimeStyle being queried however this property not supported by Opera:
Uncaught exception: TypeError: Cannot convert 'a.runtimeStyle' to object
<div style="width: 200px;border:solid 1px red;">
<div id="test" style="width:0%; background:#000;"> </div>
</div>
<script type="text/javascript">
$(function () {
var val = 50;
$("#test").animate( { width: val }, 1000);
});
</script>
Working example here: http://jsfiddle.net/Kc87a/1/
Change History
comment:1 Changed 2 years ago by snover
- Keywords regression added
- Priority changed from undecided to blocker
- Status changed from new to open
- Component changed from unfiled to css
- Milestone changed from 1.5 to 1.4.5
comment:3 Changed 2 years ago by chris.tandiono@…
I doubt this is useful information, but it also does not work in Opera 11.
comment:6 Changed 2 years ago by rwaldron
- Owner set to rwaldron
- Status changed from open to assigned
comment:8 Changed 2 years ago by Colin Snover
- Status changed from assigned to closed
- Resolution set to fixed
Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary with the release of Opera 11. Fixes #7608.
Changeset: 012f0c3b4bd3d04c2f3e1ea80fc1230901d607d9
comment:9 Changed 2 years ago by rwaldron
- Status changed from closed to reopened
- Resolution fixed deleted
Re-request:
comment:11 Changed 2 years ago by jeresig
- Status changed from assigned to closed
- Resolution set to fixed
Revert "Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary with the release of Opera 11. Fixes #7608." We will be continuing to support Opera 10.6 in jQuery 1.5.
This reverts commit 012f0c3b4bd3d04c2f3e1ea80fc1230901d607d9.
Changeset: cf7ddcf79a3d4d455711b67b252b19ae343645b1
comment:12 Changed 2 years ago by jitter
- Status changed from closed to reopened
- Resolution fixed deleted
comment:14 Changed 2 years ago by john
- Status changed from open to closed
- Resolution set to fixed
Landed rwaldron's pull.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
