Bug Tracker

Modify

Ticket #10568 (open bug)

Opened 19 months ago

Last modified 15 months ago

Animate width of hidden inline element

Reported by: benoit Owned by:
Priority: low Milestone: 1.next
Component: effects Version: 1.6.4
Keywords: Cc:
Blocking: Blocked by:

Description

Versions affected: 1.6 - 1.6.4
Browsers: Firefox 7.0.1, Chromium 17.0.914.0, IE 9/8, Opera 11.52,
Operating system: Windows 7 SP1 and Windows XP SP3,

 http://jsfiddle.net/jzjam/

When calling animate('width', 'show') on hidden inline element it shows up immediately instead of animating the width. When hiding it works as expected.
I pinpointed it to line 8243 non-minimized jQuery source v.1.6.4:

jQuery.css( this, "display" ) === "inline"

It checks whether "display" style equals "inline" but it gets "none".
I don't know what should be the proper way to fix it or even if it should be fixed, but I thought I should report it.

Change History

comment:1 Changed 19 months ago by timmywil

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to effects
  • Milestone changed from None to 1.next

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 open
Author


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

 
Note: See TracTickets for help on using tickets.