Closed Bug 5197 Opened 25 years ago Closed 25 years ago

table problem with specified widths truncating images

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cpratt, Assigned: karnaze)

References

()

Details

(Whiteboard: [TESTCASE])

Attachments

(2 files)

Yet another problem with tables. This table looks something like this:

The main table contains 1 row and 1 cell. The cell is set to have a width of
320.

This cell contains another table. This table is set to have a width of 315.

This table contains 2 rows.

The first row has 3 cells. The first cell has a width of 108. The second cell
contains yet another table; it has 2 rows which have widths of 80 and 60
respectively. The third cell is bottom aligned and contains an image set to have
a width of 120. This means that the total specified width should be 308, which
is still within the width of 320 set for this table.

* However, the image in the third cell is truncated - a few pixels on the right
are missing. *


The second row has three cells, each with a width of 100.


http://schist/nlp2.html contains the same table a second time, but this time it
does NOT have the second row, the one with the three cells with a width of 100
each. The image displays correctly that time.

This leads me to speculate that if a table contains two rows, and they do not
have the same width specified for them, all rows are chopped back to the lowest
common width, which is causing problems.
Status: NEW → ASSIGNED
Target Milestone: M6
Moving to M8
This sounds suspicously like bug 2947, except that bug 2947 used % values
throughout (except for the main table size).

cpratt: could you attach the test case to this bug so that we can see it from
outside the Netscape intranet? Thanks.
Attached file Simplified test case
I believe the page was originally taken from
http://www.natural-law-party.org.uk/ - the images referenced in the uploaded
test cases should be on their server.
Moving to M9.
Marked [TESTCASE].
Whiteboard: [TESTCASE]
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
The url looks ok now. The attachements have images that don't load.
Status: RESOLVED → VERIFIED
Using 8/5 Apprunner, verified bug fixed
You need to log in before you can comment on or make changes to this bug.