<!DOCTYPE html>
<html>
<body>
<p>This tests sets slot on a child of summary element inside a details element. It should have no effect.</p>
<details><summary><div>PASS</div></summary></details>
<script>
document.querySelector('div').slot = 'foo';
</script>
</body>
</html>
