Closed Bug 12908 Opened 25 years ago Closed 25 years ago

Complex table layouts do NOT work.

Categories

(Core :: Layout: Tables, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: macgyver, Assigned: karnaze)

References

()

Details

(Whiteboard: [TESTCASE] hyp-x@inf.bme.hu)

Attachments

(2 files)

I've had this problem with every milestone release and nightly build I've tried,
and I thought it had to be something other people have noticed or reported, but
it's still not fixed and I can't seem to find it in Bugzilla, so I'm reporting
it.  COMPLEX table layouts, especially those that rely on precise/seamless
positioning don't layout properly.  The above URL
(http://www.tos.net/indexnew.html) is an example of a page that lays out fine
under Communicator and IE, but fails under Mozilla.  There's spaces where there
shouldn't be, and some elements aren't laid out correctly at all.  I'd be happy
to provide further information if needed.
A test case(s) illustrating the problem(s) would be greatly appreciated.
This page does not layout fine in Communicator 4.08 on Windows 98(SE).
See attached snapshot above. Mozilla's layout is similar. The one thing I can
see that Mozilla does differently has been reported in bug 5821.
If you could fix the page so it looks good in Communicator but not in Mozilla
I'll be happy to have another look at it.
Whiteboard: [TESTCASE] hyp-x@inf.bme.hu
Testcase coming up:
---
<TABLE CELLSPACING="0" CELLPADDING="0">
  <TR>
    <TD WIDTH="52" HEIGHT="20"></TD>
    <TD WIDTH="300" HEIGHT="20"></TD>
  </TR>
  <TR>
    <TD WIDTH="352" HEIGHT="30" COLSPAN="2"><IMG
      SRC="http://images.tos.net/alpha-2.jpg" WIDTH="352" HEIGHT="30"></TD>
  </TR>
</TABLE>
---
The colspanned cell gets wider than requested.
The more unbalanced the width of the two cells in the top row, the more error
the spanned cells show.
It only happens when the top cells are empty.

To _see_ this you may have to add eighter border=1 to the table or a bgcolor to
the spanned cell. I'll attach a testcase with both version of the table.

Oh, and I was using 1999-09-01-09 on Win98
Attached file Testcase
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I recently made some changes affecting zero width cells. This may have fixed it.
Status: RESOLVED → VERIFIED
Using 9/28 Apprunner, looks good to me. Verified fixed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: