Closed Bug 342298 Opened 18 years ago Closed 18 years ago

Table column boundaries broken when table is in a floated fieldset

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 129346

People

(Reporter: easleydp, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

<fieldset style="float:left">
  <table border="1">
    <tr><td>Short</td><td>foo</td></tr>
    <tr><td>Longer</td><td>bar</td></tr>
  </table>
</fieldset>

The table in the above markup is presented with cells that don't align vertically, i.e. cell 'Short' really is shorter than cell 'Longer'. I'm not referring to text alignement within the cells; rather the cells themselves really are different widths (within the same column). As soon as you remove style="float:left" or change the fieldset to a div, the problem goes away.

Reproducible: Always

Steps to Reproduce:
1. paste the above code into a .html file and view

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