blob: 702f477943c3a090a6531777d87910da0e8685f5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
onload = () => {
const shadowRoot = document.body.attachShadow({mode: 'open'});
shadowRoot.append(document.createElement('slot'));
shadowRoot.append(document.createElement('slot'));
document.body.getBoundingClientRect();
shadowRoot.replaceChildren();
document.write("PASS if this doesn't crash");
if (window.testRunner)
testRunner.dumpAsText();
};
</script>
<body></body>
</html>