Open Bug 272082 Opened 20 years ago Updated 2 years ago

Vertical line shows up at the left of invisible table.

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: spiralis2004, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

Vertical line shows up at the left of invisible table. This table is nested. The
page displays fine in Opera, Netscape and IE.

Reproducible: Always
Steps to Reproduce:
1.Enter http://home.online.no/~iva-dahl/pages/winter2004.htm

Actual Results:  
Vertical line to the left.

Expected Results:  
Should show the same page without the vertical line.
Assignee: firefox → nobody
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: firefox.general → core.layout.tables
Version: unspecified → Trunk
Attached image gif for testcase
Attached file testcase
The issue here is that the width attribute specified for the table is greater
than the sum of widths specified for the columns (in the original page, 733 > 24
+ 682 + 24  = 730; in my testcase 125 > 24 + 100 = 124).
The question is which column(s) the extra pixel(s) are assigned to. IE seems to
(correctly, IMO) favor the larger column, so the first (24px) column remains in
its specified width.
Mozilla/FF, on the other hands, adds the first extra pixel to the width of the
first column, causing the 24px background gif to wrap into the 25th pixel.
Keywords: testcase
iirc we assign the extra width to all columns, proportinally (that is, each
column gets a fraction of the extra width proportional to the fraction of total
table width in that column).  We may be rounding up, however, which would assign
at least 1px extra to each column until we run out of extra width...
this looks like wfm with current trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: