7 testRunner
.dumpAsText();
8 document
.getElementById("putElementHere").innerHTML
= "<input type='text' name='testElement' value='test element contents'>";
9 document
.testForm
.testElement
.focus();
10 document
.getElementById("result").innerText
= "Form element was found.";
14 <body onload=
"test()">
15 <p>This is a regression test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=3481">bug
3481</a>.
16 The problem is that form elements added via innerHTML were not accessible with the form.elementName syntax.
</p>
17 <p>If the test succeeds, there will be a line below that says
"form element was found".
</p>
19 <form name=
"testForm"><p id=
"putElementHere"></p></form>