Ticket #9676 (assigned bug)
.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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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/