Bug Tracker

Opened 8 years ago

Closed 6 years ago

#3323 closed bug (duplicate)

jsquery .hide changes the font of the text in Internet Explorer

Reported by: sss8969 Owned by:
Priority: minor Milestone: 1.3
Component: effects Version: 1.2.6
Keywords: .hide .show Cc: sss8969, flesler
Blocked by: Blocking:

Description

In Internet Explorer 7, it appears that the .hide method changes the font or style of text as it is hiding it. When the text is redisplayed using .show, the text has a different font, or at least appears to be "less bold".

I have not extensively tested this issue, but it does not appear to happen in Firefox 2.0.0.16.

I've been able to reproduce the problem using an example from the jquery web site, http://docs.jquery.com/Effects/hide#speedcallback. I've also attached a sample file. The problem seems to be more apparent with smaller text sizes.

Change History (4)

comment:1 Changed 8 years ago by flesler

  • Cc sss8969 flesler added
  • Component changed from core to fx

comment:2 Changed 7 years ago by dmethvin

  • need changed from Review to Patch
  • Owner set to dmethvin
  • Status changed from new to assigned

This is due to IE/Windows ClearType font smoothing. I guess the fix is to remove the filter attribute if the opacity is set to 1.0?

http://blog.bmn.name/2008/03/jquery-fadeinfadeout-ie-cleartype-glitch/

comment:3 Changed 7 years ago by dmethvin

  • Owner dmethvin deleted
  • Status changed from assigned to new

comment:4 Changed 6 years ago by dmethvin

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

Dup of #2457.

Note: See TracTickets for help on using tickets.