Closed Bug 5218 Opened 25 years ago Closed 25 years ago

table colspan problem - bad space distribution

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: rickg, Assigned: karnaze)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Here's a snippet from Ebay that is well formed, but whose cells are lined up incorrectly: <html> <body> <table border="1" cellpadding="0" cellspacing="0" width="590"> <TR> <TD WIDTH="100%" COLSPAN="3">cell</TD> </TR> <tr> <td height="31" valign="middle" align="RIGHT">cell1</td> <td height="31" valign="middle" align="CENTER">cell2</td> <td height="31" valign="middle" align="LEFT">cell3</td> </tr> </table> </body> </html>
Status: NEW → ASSIGNED
Target Milestone: M6
Moving to M8
Summary: alignment wrong in table cells → table colspan problem - bad space distribution
Whiteboard: [TESTCASE]
Testing with M7 on Win98. The alignment is in fact correct, what is wrong is how space distributed between the cells. The problem is not relevant to alignment, cellheight, padding or spacing, so I removed those. The simplified testcase looks like: --- <table border=1 width=590> <tr> <td width=100% colspan=2>cell</td> </tr> <tr> <td>cellA</td> <td>cellB</td> </tr> </table> --- Expected result: CellA and CellB should be equaly wide Actual result: All remaining space is given to CellA Attaching testcase for easier viewing from the browser. Changing summary.
Attached file Testcase (deleted) —
*** Bug 7114 has been marked as a duplicate of this bug. ***
Once this bug is fixed, please verify the testcase @ bug #7114 as well.
Sounds like bug#5797 , with the minimum required width being given to all but the last cell, which gets all remaining space reguardless of what <td width= value is set at for any of them.
Moving to M9.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
WORKSFORME with build 1999-07-31-08 on Windows 98. Verified that testcase @ bug #7114 works as well.
Status: RESOLVED → VERIFIED
Using 82/ Apprunner, verified WORKSFORME.
Keywords: testcase
Whiteboard: [TESTCASE]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: