Bug Tracker

Modify

Ticket #9676 (assigned bug)

Opened 2 years ago

Last modified 12 months ago

.toggle() on IE7 returns to zoom:1, not zoom:0

Reported by: gavinward Owned by: mikesherov
Priority: low Milestone: 1.next
Component: effects Version: 1.6.1
Keywords: Cc:
Blocking: Blocked by:

Description

jQuery versions affected: 1.6.1 and older

Browser versions affected: IE7 only

jsFiddle:  http://jsfiddle.net/rEgJW/

Code:  http://pastebin.com/Wamscu0K

Forced IE version via IE Developer Tools or using: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

When an element is toggled in IE7 the text appears different when it is shown again. The inline CSS for the toggled element is changed to "zoom:1".

i.e.

<p id="test" style="filter: ; zoom: 1; display: block;" jQuery16109774995025045603="2">

Changing the CSS dynamically to "zoom:0" afterwards fixes it.

Change History

comment:1 Changed 2 years ago by timmywil

  • Keywords needsreview added
  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to effects

We wouldn't want to set zoom to 0, but perhaps we could remove the zoom setting when the animation is complete. Maybe gnarf could make this part of his pull for removing the filter after completion ( https://github.com/jquery/jquery/pull/416).

 http://jsfiddle.net/timmywil/rEgJW/4/

comment:2 Changed 12 months ago by mikesherov

  • Owner set to mikesherov
  • Status changed from open to assigned

comment:3 Changed 12 months ago by mikesherov

  • Keywords needsreview removed

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


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

 
Note: See TracTickets for help on using tickets.