Bug Tracker

Modify

Ticket #8459 (closed enhancement: worksforme)

Opened 2 years ago

Last modified 2 years ago

hide/show explicitly set display and leak data on the element

Reported by: cobexer Owned by: rwaldron
Priority: low Milestone: 1.next
Component: effects Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:

Description

calling hide and show on an element explicitly sets the display property of that element and additionally fails to remove the olddisplay data property

see  http://jsfiddle.net/8MdFy/

Change History

comment:1 Changed 2 years ago by rwaldron

  • Owner set to rwaldron
  • Priority changed from undecided to low
  • Status changed from new to assigned
  • Component changed from unfiled to effects
  • Type changed from bug to enhancement

comment:2 Changed 2 years ago by cobexer

rwaldron did you set it to enhancement by accident? to me this seems like a bug

comment:3 Changed 2 years ago by john

  • Status changed from assigned to closed
  • Resolution set to worksforme

I don't see the problem here. We want to make sure that the display is being explicitly set and it's not being affected by something in a stylesheet somewhere (and checking for that premise would make the code a lot slower). Additionally, we want to maintain olddisplay so that we don't have to re-query for it again later. I think we're OK here. Please feel free to provide another test case that you think demonstrates otherwise.

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.