<!DOCTYPE html>
<body>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div id="htmlvar00004">
<input>
</div>
<form id="form">
<output><span id="container-in-output"></span></output>
</form>
<script>
test(() => {
document.querySelector('#container-in-output').appendChild(document.querySelector('#htmlvar00004'));
document.querySelector('#form').reset();
}, 'Do not crash by resetting <output>.');
</script>
</body>