Closed Bug 11156 Opened 25 years ago Closed 25 years ago

{sink} document.written content doesn't have frames

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rcv64032, Assigned: vidur)

Details

(Whiteboard: [TESTCASE] (?))

Attachments

(1 file)

trying to create a form via DOM/js
except if you try to append children to a form Node...well nothing happens...no
errors and the script will not execute after that point...


<HTML>
<BODY>
<script>
<!--
f = document.createElement("FORM");
f.name="form1";
form = document.body.appendChild(f);

b = document.createElement("BUTTON");
b.value="button";
but1 = form.appendChild(b); //<-- doesn't work
// anything down here won't get executed


//-->
</script>
</BODY>
</HTML>
Attached file testcase
QA Contact: gerardok → phillip
Summary: can't appendChild() to a form → can't appendChild() to a form
QA Contact: phillip → gerardok
Whiteboard: MAKINGTEST mdubinko@yahoo.com
Status: NEW → ASSIGNED
The actual problem is that the for (i in form) was failing for properties that
had no values. Checked in a fix on 8/9/1999 for that problem. Now the button
does get successfully added to the form.

There's still a problem (owned by peterl@netscape.com) that the document.written
content doesn't get frames created for it (content is created correctly).
Whiteboard: MAKINGTEST mdubinko@yahoo.com → [TESTCASE] (?)
Assignee: vidur → peterl
Status: ASSIGNED → NEW
Summary: can't appendChild() to a form → document.written content doesn't have frames
As noted below, Peter, the current problem with the test case (the attached one,
not the one quoted) is that the document.written() content doesn't have frames
correctly created for it...for reasons that we've discussed w.r.t. the content
sink. Adding this to your list of tests for the content sink overhaul.
*** Bug 12629 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Summary: document.written content doesn't have frames → {sink} document.written content doesn't have frames
Moving all content sink issues to M14.
Make that M14.
Thanks for taking this Vidur. Many of these are likely dups. I haven't marked
them as such to make sure I had the testcases handy...
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed with sink change on 10/26/1999.
Mass update of qa contact
QA Contact: gerardok → janc
Component: DOM Level 1 → DOM HTML
QA contact Update
QA Contact: janc → desale
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
verified on Linux2001-06-26-21-trunk...worked for me with the testcase given
below...marking as verified
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: