This is due to the issue where if an element has a height or width equal to 0, in IE in quirksmode, the full height/width of the element is shown. jQuery use to have a fix for this - anytime a value of 0 was set a value of 1 was set instead - unfortunately this caused other strange side-effects with other browsers so it became preferable to require that the page not be in quirksmode.
You can see the problem happening here: http://ejohn.org/files/bugs/0/ (Firefox 3 reports 0, 0 - IE 6 reports 28, 19) Now, we could feature detect this bug occurring (which is obviously possible, as shown in the test case) and only do the "set 1 only, not 0" in browsers that have that specific problem - however that creates the situation where Internet Explorer in quirksmode will have a completely different style of animation (at least one that is, still, only fixable by pushing your page out of quirksmode). As always, a patch with a better solution for this problem would certainly be welcome. --John On Thu, Jun 11, 2009 at 3:47 PM, Matt<m...@thekrusefamily.com> wrote: > > I don't use a lot of effects, so when I got the dreaded "flash of > content" in IE6 when trying to a slideUp/slideDown, I did some quick > searching to jog my memory. > > Found this: http://dev.jquery.com/ticket/1726 > > This is the bug, and it's "wontfix" because IE/Quirksmode is not > supported for fx? > > IE6/7 are still the dominant browser, and quirksmode is still how many > (most?) pages are operating (often out of our control). Is it not > supported simply because you can't come up with a good fix? IE6 has > been around for a decade, it's not rocket science! jQuery should > normalize browser behavior, not label common and perfectly valid > situations as "unsupported" simply because the fix requires some > additional work. That's a very disappointing approach to development, > IMO. > > Matt Kruse > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---