#187 closed enhancement (fixed)
I.E. text rendering at full opacity
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | core | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Since I.E.'s opacity on text looks ugly (http://jszen.blogspot.com/2005/04/ie-bold-text-opacity-problem.html - could be fixed by adding a background but that's a pain), I suggest that when z.now == 1, you just get rid of the alpha opacity filter instead of setting it to z.now*100 = 100 which will render ugly.
So I propose that you change the code within prop == 'opacity' to something like
if (jQuery.browser.mozilla && z.now == 1) z.now = 0.9999; if (window.ActiveXObject) { if (z.now == 1) y.filter = ""; //no need for alpha filter if opacity is full else y.filter = "alpha(opacity=" + z.now*100 + ")"; } else { y.opacity = z.now; }
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is fixed in SVN revision 407.
Setting background-color: transparent has not been a reliable solution.
Note: See
TracTickets for help on using
tickets.
Actually, might just wanna check for a currentStyle.backgroundColor and set style.backgroundColor to transparent if it's not there. That'll cover all opacity ranges and text will look good the whole time :).