gecko-dev/layout/base/crashtests/1429088.html

9 строки
301 B
HTML

<!doctype html>
<div id="host" style="display: none"></div>
<script>
let shadowRoot = host.attachShadow({ mode: "open" });
shadowRoot.appendChild(document.createTextNode('foo'));
document.body.offsetTop;
shadowRoot.insertBefore(document.createElement('bar'), shadowRoot.firstChild);
</script>