On 9/5/06, Thomas Hervé <[EMAIL PROTECTED]> wrote: > > I've recently filled the ticked #176, reporting the strange IE behaviour > > when a element containing text has width != 0 and height == 0 (and overflow: > > hidden, of course). AFAICS, that's the cause of the ugly glitches on blindUp > > (see http://ui4w.sf.net/ using IE). > > You can comment also in the ticket :).
I know, but I'm trying to left the facts on the ticket and post my questions to the maling list. Don't know if that's the right behaviour. > > I'd like to help with this problem, but don't know what's the better way. > > Should Visual.js use MochiKit.Style.setElementDimensions and fix it there, > > or should Visual.js get his own way to workaround it? > > Before everything you should find a solution to the problem. A quick-and-dirty solution would be set the display to none when the height is 0. A patch that just does that is attached. But when restoreAfterFinish is false and the heigth is scaled down to 0, it will leave the element display property as 'none'. I don't think that's right. Anyway, that should be easy to solve and if I have more time tomorrow I will solve that. The question is: shoud it be fixed on setElementDimensions too?. If not, the docs should contain a warning about this problem IMHO. > You can > also try to explain why you need overflow:hidden. blindUp() does need it. Or at least the current implementation uses it. -- Leonardo Soto M. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" 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/mochikit -~----------~----~----~----~------~----~------~--~---
Visual.patch
Description: Binary data
