Closed Bug 31025 Opened 25 years ago Closed 23 years ago

Unexpected table rendering due to fixed-width declaration.

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: kcook, Assigned: attinasi)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

M14 on NT, build 20000022820. Unexpected table rendering due to fixed width declaration. Maybe this isn't truly a bug, but it doesn't seem like a friendly rendering feature. In the sample code below, there is a table whose cells are filled with images to compose a small search box interface for goto.com. The problem is that the width specified in the <TABLE> tag is 375 pixels, whereas the total width of the images in the table cells is actually 383. The currently expected behaviour is for the table to expand if necessary to accomodate proper rendering of any cell contents. Instead, the box is refusing to expand, which then causes unwanted wrapping within the centre table cell. Removing the width declaration from the <TABLE> tag allows the table to render correctly. <!-- begin sample code with unwanted wrapping; remove width="375" from <table> tag to obtain expected rendering --> <FORM ACTION="http://service.bfast.com/bfast/click/goto"> <INPUT TYPE="hidden" NAME="bfsiteid" VALUE="5477650"> <INPUT TYPE="hidden" NAME="bfpage" VALUE="search8"> <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" WIDTH="375" HEIGHT="60"> <TR> <TD ROWSPAN="4"> <IMG SRC="http://goto.com/images-affiliates/befree/logo.gif" WIDTH="89" HEIGHT="60" BORDER="0" ALT="GoTo.com"></TD> <TD ROWSPAN="4" BGCOLOR="#ffff33"> <IMG SRC="http://goto.com/images-affiliates/befree/clear.gif" WIDTH="1" HEIGHT="60" ALT="border"></TD> <TD COLSPAN="2"> <CENTER> <IMG SRC="http://goto.com/images-affiliates/befree/topper.gif" WIDTH="5" HEIGHT="16" BORDER="0" ALT="border"><IMG SRC="http://goto.com/images-affiliates/befree/top.gif" WIDTH="254" HEIGHT="16" BORDER="0" ALT="border"><IMG SRC="http://goto.com/images-affiliates/375x60/topper.gif" WIDTH="5" HEIGHT="16" ALT="border" BORDER="0"></CENTER> </TD> <TD ROWSPAN="4" BGCOLOR="#aa6600"> <IMG SRC="http://goto.com/images-affiliates/befree/clear.gif" WIDTH="1" HEIGHT="60" ALT="border"></TD> <TD ROWSPAN="4"> <A HREF="http://www.goto.com/d/affiliate/p/befree/?Promo=befree_refer"><IMG SRC="http://goto.com/images-affiliates/befree/makeDollars2.gif" WIDTH="28" HEIGHT="60" BORDER="0" ALT="Make Money with GoTo"></A></TD> </TR> <TR> <TD COLSPAN="2" BGCOLOR="#ffff33"> <IMG SRC="http://goto.com/images-affiliates/befree/clear.gif" ALT="border" WIDTH="154" HEIGHT="1" BORDER="0"></TD> </TR> <TR> <TD BGCOLOR="#ffcc00" ALIGN="right" VALIGN="middle" HEIGHT="42"> <INPUT SIZE="25" NAME="Keywords" STYLE="font-family:Courier"></TD> <TD BGCOLOR="#ffcc00"> <IMG SRC="http://goto.com/images-affiliates/befree/clear.gif" ALT="border" WIDTH="6" HEIGHT="1" BORDER="0"> <INPUT TYPE="image" NAME="Submit" SRC="http://goto.com/images-affiliates/befree/arrow.gif" ALT="Find It!" WIDTH="23" BORDER="0" HEIGHT="23"><IMG SRC="http://goto.com/images-affiliates/shared/cl.gif" WIDTH="2" HEIGHT="1" ALT="border"></TD> </TR> <TR> <TD COLSPAN="2" BGCOLOR="#aa6600"> <IMG SRC="http://goto.com/images-affiliates/befree/clear.gif" ALT="border" WIDTH="154" HEIGHT="1" BORDER="0"></TD> </TR> </TABLE> </FORM> <!-- end sample code -->
Dup of bug 24765?
Attached file testcase provided by reporter (deleted) —
The testcase renders the same on Linux build 2000.03.10.13 and NS 4.7. Can you check this with a newer build? Maybe attach a screenshot?
It renders differently on 20000324 and NS 4.7. This could well be due to choice of font for the text box, which is bigger in Moz. Gerv
Confirming as still a problem in 20000318 (M15) under W95. Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Target Milestone: --- → M18
This bug has been marked "future" because we have determined that it is not critical for netscape 6.0. If you feel this is an error, or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
Buster, I think this may be a dup of one of your bugs that deals with breaking images within a <td>.
Assignee: karnaze → buster
Status: ASSIGNED → NEW
QA contact update
QA Contact: chrisd → amar
Keywords: testcase
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
This WFM, so far as I can tell, in today's Linux CVS. Closing WORKSFORME. Reporter: if I've misinterpreted this, and it's still broken, please reopen the bug (and provide a more detailed description of the correct rendering, if possible).
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
works fine on 2002011503 build. Platform: WIN2K
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: