Bug Tracker

Modify

Ticket #4412 (closed bug: worksforme)

Opened 5 years ago

Last modified 4 years ago

hide and ie bug (height < 1px)

Reported by: x-yuri Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

as a result of code

$('#el')[0].style.overflow = 'hidden';
$('#el')[0].style.height = '0.1px';

element's height fits its content in ie

Hence, during hide:

  1. element's height decreases to approximately 1px
  2. element fits its content (only in ie)
  3. element gets hidden (display: none)

Attachments

3.html Download (376 bytes) - added by x-yuri 5 years ago.
after adding doctype everything works fine

Change History

comment:1 Changed 5 years ago by x-yuri

it turned out that bug takes place only in quirks mode

Changed 5 years ago by x-yuri

after adding doctype everything works fine

comment:2 Changed 4 years ago by dmethvin

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

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.