In a page containing around 100 separate input forms, Mozilla 1.2.1
in Linux leaves gaps at random places.  Does anybody know if this
has been fixed?  Is there a workaround?  Where is Mozilla's bug
list maintained?

I'm writing a scheduling application with an intranet interface.
Each day's schedule is displayed as a series of timeslots.  There
are a variety of things you can do to each timeslot -- reserve it
for somebody, block it out (in a few different ways), cancel a
reservation, and several other actions.

A single day may have over 100 timeslots available.  In an effort
to make the timeslots compact and clean-looking while still allowing
users to do everything they may need to do to each timeslot, I came
up with the idea of using <SELECT> HTML inputs.  Each timeslot has
its own <FORM>, and each form contains a single <SELECT> input.  The
default value of the input shows the timeslot's status (i.e., who
it's reserved for, or what type of blockout, or simply blank if it
is still available).  Selecting any other value triggers an action,
via an "onChange=..." parameter and a little bit of JavaScript.

A <TABLE> is used to arrange the timeslots in columns.  Each column
is represented by a single <TD>...</TD> pair with another <TABLE>
embedded in it.  Each timeslot is then drawn as a row of the inner
table.  (For reasons I won't go into here, I wanted the data to
be stored in the HTML file columnwise instead of rowwise.)

And it all works great with one big exception:  Mozilla likes to
insert extra gaps in the columns at unpredictable places.  It looks
like sometimes Mozilla just decides to make a row of the inner table
be extra tall.  These gaps can be as much as 1.5 inches.  I've
verified that there's nothing in the HTML that would explain the
funny gaps.  And merely reloading the page will sometimes cause the
gaps to shift or disappear.

That can be ugly and distracting, but the real problem is that
when Mozilla is computing the table's layout it doesn't predict the
gaps, so a column of timeslots with gaps can be too long to fit in
the table.  The bottom timeslots can't be seen.

The Galeon browser (which is derived from Mozilla) has the same
problem.  The same pages look good in MSIE, though I had to find a
workaround for an MSIE quirk first.  They also look perfect in
Konqueror, though Konqueror's JavaScript support is too flakey for
the behavior to work right.

Using over 100 forms in a single page is certainly an extreme case.
But this is a real-world example of where it is useful and practical.
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to