<!DOCTYPE html> | |
<title>Chrome DCHECK failure for non-root <html></title> | |
<link rel="help" href="https://crbug.com/1217946"> | |
<body></body> | |
<script> | |
let non_root = document.createElement("html"); | |
document.documentElement.appendChild(non_root); | |
document.body.offsetTop; | |
document.body.style.display = "inline"; | |
non_root.style.color = "red"; | |
</script> |