Bug Tracker

Modify

Ticket #7608 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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;">&nbsp;</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:2 Changed 2 years ago by jitter

#7759 is a duplicate of this ticket.

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:4 Changed 2 years ago by jitter

#7838 is a duplicate of this ticket.

comment:5 Changed 2 years ago by evuigner@…

Will not help, but steel there with jQuery-git

comment:6 Changed 2 years ago by rwaldron

  • Owner set to rwaldron
  • Status changed from open to assigned

comment:7 Changed 2 years ago by rwaldron

  • Milestone changed from 1.4.5 to 1.5

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

comment:10 Changed 2 years ago by rwaldron

  • Status changed from reopened to assigned

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:13 Changed 2 years ago by jitter

  • Status changed from reopened to open

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.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.