Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>
function boom()
{
document.documentElement.offsetHeight;
document.getElementById("g").firstChild.remove();
}
</script>
</head>
<body onload="boom();">
<div style="display: grid;" id="g">a b<br></div>
</body>
</html>