Closed Bug 239882 Opened 22 years ago Closed 22 years ago

When creating a new collumn in a table, the header <th> is not taken into account and a <td> is used instead

Categories

(Core :: DOM: Editor, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 193713

People

(Reporter: gerke.kok, Assigned: mozeditor)

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040406 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040406 When creating a new column in a table, the header <th> is not taken into account and a <td> is used instead. When I have this in HTML: <table width="80%"> <tbody> <tr> <th><br> </th> <th><br> </th> </tr> <tr> <td><br> </td> <td><br> </td> </tr> </tbody> </table> And I add a column in the middle, I get this: <table width="80%"> <tbody> <tr> <th><br> </th> <td><br> </td> <th><br> </th> </tr> <tr> <td><br> </td> <td><br> </td> <td><br> </td> </tr> </tbody> </table> I would have expected Mozilla to pick up the fact that I use th in the first row... Or did I miss something? Do I need to enclose <th> elements with some other tag? Reproducible: Always Steps to Reproduce: 1. 2. 3.
This functionality is already requested under bug 193713 (though you have to get to comment 5 to work that out!). Resolving as a duplicate. *** This bug has been marked as a duplicate of 193713 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Sorry, that is probably why I could not find it. Thanks for finding it for me!
You need to log in before you can comment on or make changes to this bug.