[Webkit-unassigned] [Bug 13962] trElement.innerHTML = "<td>foo</td>" throws DOM Exception 7
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 20 17:33:59 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=13962
--- Comment #5 from Alexey Proskuryakov <ap at webkit.org> ---
The test as attached is incorrect, it needs some CDATA magic added:
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<table>
<tr id="tr">
<td>FAIL</td>
</tr>
</table>
<script>
<![CDATA[
document.getElementById('tr').innerHTML = "<td>PASS</td>";
console.log("my script");
]]>
</script>
</body>
</html>
But then we do behave the same as Chrome and Firefox, so yay.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220721/3f3a13ab/attachment.htm>
More information about the webkit-unassigned
mailing list