Closed Bug 80227 Opened 25 years ago Closed 25 years ago

Table width not ignored if less than sum of cell widths

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tapik, Assigned: karnaze)

References

()

Details

Example: table:770pixels td1:610 - three pictures - 144+134+ flash 323=601pixels and they can't be in the same line in Mozilla, but Netscape 4.7 rendered it correctly (in the same line without line breaking) td2:170 When I increase the size of the whole table to 771 (601 + 170 + 10), the pictures are in the same line in Mozilla too. Here is the table from http://www.qbizm.com (and it seams to be good, HTML Tidy converts it to the correct form without any warning <table width="770" height="79" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="http://www.qbizm.com/img/top_back.gif" width="610" align="left" valign="top"><img src= "http://www.qbizm.com/img/top_art.gif" width="144" height= "59" border="0" alt="Qbizm Technologies"><img src= "http://www.qbizm.com/img/top_comp.gif" width="134" height= "59" border="0" alt=""><embed src= "http://www.qbizm.com/img/anim.swf" menu="false" quality= "high" bgcolor="#7890A8" width="323" height="59" type= "application/x-shockwave-flash" pluginspage= "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> <noembed><img src= "http://www.qbizm.com/img/noflash.gif" width="323" height= "59" border="0"></noembed><br> <img src="http://www.qbizm.com/img/top_art2.gif" width= "155" height="18" border="0" alt="Qbizm Technologies"><img src="http://www.qbizm.com/img/blank.gif" width="100" height="18"><img src= "http://www.qbizm.com/img/top_motto.gif" width="305" height="18" border="0" alt=""><br> </td> <td background="http://www.qbizm.com/img/top_back2.gif" width="170" align="left" valign="top"><a href= "index.html"><img src= "http://www.qbizm.com/img/top_logo.gif" width="162" height= "79" border="0" alt="Qbizm Technologies"></a><br> </td> </tr> </table>
610 + 170 = 780 > 770. We SHOULD expand the table width to 780px ( http://www.w3.org/TR/REC-CSS2/tables.html#auto-table-layout ), but are not required to do so. This bug is exposed by bug 32191. Changing summary. Confirming. OS -> all.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Summary: Table size is not counted correctly → Table width not ignored if less than sum of cell widths
Probably fixed by Attinasi's checkin for bug 97169. WFM win98 2001091003
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.