Bug 134967 - change tbody.innerHTML using javascript results in DOM Exception 7
Summary: change tbody.innerHTML using javascript results in DOM Exception 7
Status: RESOLVED DUPLICATE of bug 137408
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 01:22 UTC by Andreas Grau
Modified: 2006-11-15 18:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Grau 2006-10-02 01:22:12 UTC
Version:           3.5.4 (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Try to display following html page

<table><tbody id='foo'>
	<tr><td>bar</td></tr>
</tbody></table>
<script type="text/javascript">
	document.getElementById('foo').innerHTML = "<tr><td>baz</td></tr>";
</script>

results in JavaScript Error 'Error: DOM exception 7'
Comment 1 Maksim Orlovich 2006-10-06 05:37:03 UTC
We seem to explicitly disable this, probably for IE compatibility (didn't they invent this, anyway?), but it's not that trivial to check as removing the check since the activated parser may create implicit table/tbody/whatever elements.

Comment 2 Maksim Orlovich 2006-11-15 18:15:13 UTC

*** This bug has been marked as a duplicate of 137408 ***