[jifty-devel] IE rendering problem for empty HTML elements

Andrew Sterling Hanenkamp sterling at hanenkamp.com
Wed Aug 1 23:25:31 EDT 2007


I got started on it and made some progress, but I didn't finish it tonight.
I'm going to keep looking tomorrow. I can get the extra space the icons to
go away and get them to come back on Ajax (except IE still doesn't show the
text), but I need to get them to go away on Ajax when the warnings or errors
go away.

If meetings don't take too much time away from real work tomorrow, I may
have a patch tomorrow morning.

On 8/1/07, Andrew Sterling Hanenkamp <sterling at hanenkamp.com> wrote:
>
> I'm dinking around with some JS tonight anyway. Maybe I'll see what I can
> find. Thanks for the tip!
>
> On 8/1/07, Kevin Falcone < falcone at bestpractical.com> wrote:
> >
> >
> > On Aug 1, 2007, at 9:00 PM, Andrew Sterling Hanenkamp wrote:
> >
> > > Yeah, I've looked into it a bit, but I haven't tackled the issue.
> > > Basically, IE does not always collapse empty tags, which, if I
> > > recall correctly, is not actually a wrong interpretation of the
> > > specifications, but happens to differ from how the rest of the
> > > others do it. Whether it's wrong or not, it is a difficulty and it
> > > is Jifty's problem.
> > >
> > > Our clients are primarily IE users as well and I haven't gotten far
> > > into fixing it because I haven't had a chance to read through the
> > > JavaScript that handles the canonicalization and error handling
> > > that inserts text into the empty DIVs causing the ugliness.
> > >
> > > The solutions I've thought of involve either not rendering the DIVs
> > > at all unless they need to be filled and then adding code to fill
> > > them when ever the Ajax routines run, or set display to none and
> > > make them appear during the Ajax stuff.
> >
> > toggling the display is  pretty doable in that JS.
> > Unfortunately, I don't have IE (mac and linux) so I really can't test
> > a solution.
> >
> > You want the code around lines 260 and 275 where we frob innerHTML
> >
> > -kevin
> >
> > >
> > > Jesse or others that have dealt with the JavaScript involved may
> > > have better ideas, but that's just not a part of Jifty I've read
> > > through yet.
> > >
> > > On 8/1/07, Henry Baragar < Henry.Baragar at instantiated.ca> wrote:
> > > Hello all,
> > >
> > > Has anyone come up with a work-around to this problem with IE?
> > >
> > > Our client is viewing this more as a problem with our application
> > > than with IE
> > > (since they and their clients mostly use IE).
> > >
> > > We will need to implement a work-around, if somebody does not
> > > already have
> > > one.  Is the problem simpler in the case where AJAX is not needed
> > > (as in our
> > > case)?
> > >
> > > Any help would be appreciated.
> > >
> > > Thanks,
> > > Henry
> > >
> > > On Friday, January 26 2007 04:55 am, Agent Zhang wrote:
> > > > On 12/3/06, Jesse Vincent < jesse at bestpractical.com> wrote:
> > > > > I think we'd probably want to add a class of "hidden" or somesuch,
> > > > > rather than an explicit styling. But what I'd really like is
> > > for hlb and
> > > > > trs to weigh in here, since both of them know more about the
> > > issues
> > > > > involved than I do.
> > > >
> > > > I'm still suffering from such issues in IE. How about dynamically
> > > > adding a class like "empty" and let the user to decide what to do
> > > with
> > > > it? I think it's safe for existing Jifty apps.
> > > >
> > > > Regards,
> > > > Agent
> > > > _______________________________________________
> > > > jifty-devel mailing list
> > > > jifty-devel at lists.jifty.org
> > > > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> > > _______________________________________________
> > > jifty-devel mailing list
> > > jifty-devel at lists.jifty.org
> > > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> > >
> > > _______________________________________________
> > > jifty-devel mailing list
> > > jifty-devel at lists.jifty.org
> > > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> >
> > _______________________________________________
> > jifty-devel mailing list
> > jifty-devel at lists.jifty.org
> > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070801/0d682053/attachment-0001.htm


More information about the jifty-devel mailing list