I've created a ticket describing the specific problem with the Alpha filter, and my proposed solution. Including a simplified test case from a real world implementation where I first stumbled across this.
Hope it's not redundant and that it helps. My solution should not be intrusive either (ie. wiping any other filters). http://dev.jquery.com/ticket/3901 -- Frode On Jan 16, 11:29 pm, John Resig <[email protected]> wrote: > Perfect - using that we can definitely implement a solution. We'll > probably tackle this for 1.3.2. > > --John > > On Fri, Jan 16, 2009 at 5:26 PM, prefect <[email protected]> wrote: > > > Ah, yes. I came across a particularly nasty side effect with clipping > > of content with the alpha filter (I'd assume several filters do the > > same, but alpha is what I've tested). > > > I'll be sure to make a simple test case demonstrating the problem > > tomorrow (late in Norway now), which affects both IE 6 and 7. > > > -- > > Frode > > > On Jan 16, 8:46 pm, John Resig <[email protected]> wrote: > >> Hmm, an interesting point. Do you have any test cases where the > >> negative effect of an alpha filter is readily available? (It would > >> help up to diagnose any problems if we were to implement this.) > > >> If you can think of one then feel free to file a > >> ticket!http://dev.jquery.com/newticket > > >> --John > > >> On Fri, Jan 16, 2009 at 12:45 PM, prefect <[email protected]> > >> wrote: > > >> > jQuery supports automatically using Explorer's Alpha filter for > >> > setting an elements opacity, ie. when doing css('opacity', '0.5'). > > >> > Explorer's filters have varying degrees of side effects, and to > >> > minimize these I suggest automatically disabling the Alpha filter as > >> > well when the opacity is set to 1.0, which equals no opacity anyway. > > >> > One can do this manually with css('filter', "alpha(enabled='false')"), > >> > but I think jQuery just as well could do this automatically since it > >> > already implisitly activates the filter. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
