blob: 8e4bbd2c05b3d3f869596074c2f0e64767e54fd3 (
plain) (
tree)
|
|
<!doctype html>
<title>innerHTML test</title>
<div id="test">Fail</div>
<script src=asserts.js></script>
<script>
const div = document.getElementById("test");
assert_equals(div.outerHTML, '<div id="test">Fail</div>');
div.textContent = "Success";
</script>
|