Closed Bug 281493 Opened 20 years ago Closed 12 years ago

Incorrect table layout (column always 1px width) when using colspan

Categories

(Core :: Layout: Tables, defect)

1.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: m.bode, Unassigned)

Details

(Keywords: testcase)

Attachments

(4 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0

There is a 3x3 table, where there are two colspans in two different rows, and
two given relative percantage-widths for different columns in different rows.
The middle column which should be 75% in width is always being display with 1px
width, which is not correct.

Other reported problems here concerning table layouts can obviosly be resolved
by reloading the page. This problem however occurs even after reloading.

Reproducible: Always

Steps to Reproduce:
Open the attached HTML-file.
Actual Results:  
Incorrect table layout on screen.

Expected Results:  
See screenshot of how it should look like

This problem also occurs when the widths of col 1 and 3 are given in absolut
(pixel) widths.
Still same incorrect behaviour with Mozilla/5.0 (Windows; U; Windows NT 5.1;
de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2 as shown in the screenshot.
Incorrect layout also appears with Mozilla/5.0 (Macintosh; U; PPC Mac OS X
Mach-O; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2. Safari displays table
correct (just as IE on Win does).
Just went to a friends Linux-Box, and the incorrect layout also appears with
Mozilla/5.0 (X11; U; Linux x86_64; de-DE; rv:1.7.6) Gecko/20050322 Firefox/1.0.2
Incorrect layout also appears on latest nightly Mozilla/5.0 (Windows; U; Windows
NT 5.1; en-US; rv:1.8b2) Gecko/20050331 Firefox/1.0+
this may be related.
if one uses overlapping table rows and adds text one table row becomes overly
wide and get empty padding without need
See also confirmed bug 213809
or more bug 187550 
Assignee: firefox → nobody
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Keywords: verifyme
Tested on Nightly from http://hg.mozilla.org/mozilla-central/rev/d68224f5325b
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: