Closed Bug 19212 Opened 25 years ago Closed 25 years ago

Can't add content to empty table.

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: hyp-x, Assigned: vidur)

Details

(Keywords: testcase, Whiteboard: [TESTCASE][HAVE FIX])

Attachments

(2 files)

Version tested: 1999-11-16-08-M12 on Win98SE How to reproduce: Load the following testcase. (I'll attach it as well.) Expected result: You should see a table containing one cell, with text "Hello world!" Actual results: Page looks like empty. Regression: Works as expected in IE5. --- <html><body> <table border=5 id="mytable"></table> <script> var t = document.getElementById("mytable"); var tr = t.insertRow(0); var td = tr.insertCell(0); td.appendChild(document.createTextNode("Hello world!")); </script> </body></html>
Attached file Testcase (same as in the description) (deleted) —
Whiteboard: [TESTCASE]
QA Contact: gerardok → janc
In an attempt to get my bug list in order again, marking all the bugs I have currently as ASSIGNED.
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
update: tested on 1/25 builds and changed platform/os to all/all Also, this bug does not happen if rows already exist in the table, even empty rows.
OS: Windows 98 → All
Hardware: PC → All
A simple problem in table content code (which from the looks of it, could do with a rewrite). I have a fix and will check in at the next opportunity.
Whiteboard: [TESTCASE] → [TESTCASE][HAVE FIX]
Fixed on 1/26/2000.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I'm reopening because I discovered you still can't add content to an empty table after the page has finished loading. The test case I am attaching next demonstrates this: it attempts to add content to two tables, the first time while loading and the second time after loading is complete (via the onLoad event handler). The first attempt succeeds, the second attempt fails.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ack! You're right. Fixed again on 2/7/2000. A notification wasn't being done for the the TBODY that was added as a result of insertRow.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
QA contact Update
QA Contact: janc → desale
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
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: