Skip to main content

Bug Tracker

Side navigation

#187 closed enhancement (fixed)

Opened September 08, 2006 03:43PM UTC

Closed October 08, 2006 01:59AM UTC

Last modified June 20, 2007 01:46AM UTC

I.E. text rendering at full opacity

Reported by: Owned by:
Priority: trivial Milestone:
Component: core Version:
Keywords: Cc:
Blocked by: Blocking:

Since I.E.'s opacity on text looks ugly ( - could be fixed by adding a background but that's a pain), I suggest that when == 1, you just get rid of the alpha opacity filter instead of setting it to*100 = 100 which will render ugly.

So I propose that you change the code within '''prop == 'opacity'''' to something like

if (jQuery.browser.mozilla && == 1) = 0.9999;
if (window.ActiveXObject) {
	if ( == 1)
		y.filter = ""; //no need for alpha filter if opacity is full
		y.filter = "alpha(opacity=" +*100 + ")";
} else {
	y.opacity =;
Attachments (0)
Change History (2)

Changed September 11, 2006 04:51AM UTC by gabelerner@g comment:1

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 :).

Changed October 08, 2006 01:59AM UTC by brandon comment:2

resolution: → fixed
status: newclosed

This is fixed in SVN revision 407.

Setting background-color: transparent has not been a reliable solution.