Closed Bug 34811 Opened 26 years ago Closed 26 years ago

(re)adding deleted row messes up table display

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: martin.honnen, Assigned: jst)

Details

Attachments

(1 file)

I use the following function deleteAndAddRow () { var table = document.getElementById('aTable'); var row = table.rows[table.rows.length - 1]; table.deleteRow(table.rows.length - 1); table.tBodies[0].appendChild(row); alert('table.rows.length: ' + table.rows.length) } <TABLE ID="aTable" BORDER="1"> <TBODY> <TR> <TD> Kibology </TD> </TR> </TBODY> </TABLE> on a table and while the length value is alerted correctly the row is not displayed correctly but (if there is just one row) the table degenerates to a little rectangle of the borders.
QA Contact: gerardok → janc
Seems like this one is fixed, marking FIXED.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Works for Me Platform: PC OS: Windows 98 Mozilla Version: 2000100508 Marking as Verified
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: