Skip to main content

Bug Tracker

Side navigation

#7608 closed bug (fixed)

Opened November 23, 2010 01:19PM UTC

Closed January 17, 2011 08:50PM UTC

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:
Blocked by: Blocking:
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/

Attachments (0)
Change History (14)

Changed November 23, 2010 09:00PM UTC by snover comment:1

component: unfiledcss
keywords: → regression
milestone: 1.51.4.5
priority: undecidedblocker
status: newopen

Changed December 13, 2010 06:46PM UTC by jitter comment:2

#7759 is a duplicate of this ticket.

Changed December 16, 2010 08:06PM UTC by chris.tandiono@gmail.com comment:3

I doubt this is useful information, but it also does not work in Opera 11.

Changed December 24, 2010 10:09AM UTC by jitter comment:4

#7838 is a duplicate of this ticket.

Changed December 31, 2010 08:44AM UTC by evuigner@gmail.com comment:5

Will not help, but steel there with jQuery-git

Changed January 05, 2011 06:04PM UTC by rwaldron comment:6

owner: → rwaldron
status: openassigned

Changed January 05, 2011 07:32PM UTC by rwaldron comment:7

Changed January 09, 2011 11:36PM UTC by Colin Snover comment:8

resolution: → fixed
status: assignedclosed

Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary with the release of Opera 11. Fixes #7608.

Changeset: 012f0c3b4bd3d04c2f3e1ea80fc1230901d607d9

Changed January 10, 2011 06:01PM UTC by rwaldron comment:9

resolution: fixed
status: closedreopened

Changed January 10, 2011 06:01PM UTC by rwaldron comment:10

status: reopenedassigned

Changed January 14, 2011 07:13PM UTC by jeresig comment:11

resolution: → fixed
status: assignedclosed

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

Changed January 14, 2011 07:56PM UTC by jitter comment:12

resolution: fixed
status: closedreopened

Changed January 14, 2011 07:57PM UTC by jitter comment:13

status: reopenedopen

Changed January 17, 2011 08:50PM UTC by john comment:14

resolution: → fixed
status: openclosed

Landed rwaldron's pull.