Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<style>
* { position: absolute; }
#a, button::first-line { display: grid; }
</style>
<script>
function go() {
a.insertBefore(document.createElement("a"), b);
}
</script>
<body onload=go()>
<button id="a">
<span id="b">