Closed Bug 109276 Opened 23 years ago Closed 23 years ago

Textfields created with innerHTML is empty

Categories

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

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 17003

People

(Reporter: tmapek, Assigned: jst)

Details

This might be related to bug #50418 and #58089.

Textareas created with innerHTML will be empty.

This code will create a text-area filled with text in IE, but will render an
empty textarea in Mozilla:

<div id="par"><!-- comment --></div>

<script language="javascript">
function paintParagraph() {
	buf = '<textarea>the text</textarea>';
	document.getElementById('par').innerHTML = buf;
	}
paintParagraph();
</script>
Dup of bug 17003 by way of bug 94724.

*** This bug has been marked as a duplicate of 17003 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified dup of bug 17003
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.