Closed Bug 265142 Opened 20 years ago Closed 20 years ago

misaligned colspans are quantized to single td's

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 187550

People

(Reporter: riseofthethorax, Unassigned)

Details

Attachments

(1 file)

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

Example: 

<table border=1>
<tr><td colspan2></td>Instructions:<td></td></tr>
<tr><td width=40></td><td colspan2>Do this stuf here until you get bored.</td></tr>
</table>

In IE this table will appear correct, in firefox it gets reduced to 
single td's.. 

Reproducible: Always
Steps to Reproduce:
1. Create a table 2x2
2. in the first tr, set colspan for the first td in that tr to 2
3. in the secont tr, set colspan for the second td to 2
(optional)
4. put some text in the cells, to exploit the effect
5. change the cell widths 
6. set border for table to 2 or 3, to show the cell alignments. 
Actual Results:  
Aligned td's for misaligned colspans

Expected Results:  
Misaligned td's.. 

I use PHP to generate my html, so I've been able to try many 
different kinds of text with it..
This better depicts the problem.. This is direct from my code.. 

<table border=3>
<tr><td colspan=2>Problem One Instructions:</td><td></td></tr>
<tr><td></td><td colspan=2>Indicate <b>True or False</b> as to whether the
following individuals qualify for the DD Waiver</td></tr>
</table>
Attached file Testcase
(In reply to comment #2)
> Created an attachment (id=162676)
> Testcase
> 

yeah, but you can't do it with two rows.. I guess having three td's 
at the bottom fixes the problem, but really it should work without the 
extra td's.. It does in IE.. 

*** This bug has been marked as a duplicate of 187550 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: