Bug Tracker

Modify

Ticket #1003 (closed bug: duplicate)

Opened 6 years ago

Last modified 6 years ago

oldDisplay gets overwritten with 'block' and borks some UAs

Reported by: dohpaz Owned by:
Priority: major Milestone: 1.1.3
Component: effects Version: 1.1.1
Keywords: Cc: dohpaz@…
Blocking: Blocked by:

Description

It seems that when using an fx animation the oldDisplay variable gets overwritten with 'block', which can adversely affects how a UA (such as FF) redisplays the item.

An example demonstrating this problem can be found at  http://dohpaz.mine.nu/jquery/block.html It uses an alert to show the value of oldDisplay at the time that it gets set during the animation/effect. You should see three alerts: either table or table-row, block, and block.

I don't see how it could be my code, as it is very plain and straight-forward. This doesn't happen when using a plain show() or hide() (i.e., no arguments). Also, once a table row is borked, it doesn't seem to be fixable without a refresh of the page. I have tried manually applying the correct display (using .css('display', 'table-row') and .css('display', )), and have tried hiding/showing it with no arguments.

Change History

comment:1 Changed 6 years ago by dohpaz

My apologies, but apparently this issue has already been described in a bug 8 months ago. (Bug #24:  http://dev.jquery.com/ticket/24) Please mark this as a duplicate and close this ticket. I will be more thorough in the future. :)

comment:2 Changed 6 years ago by john

  • Status changed from new to closed
  • Resolution set to duplicate

No problem!

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.