Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<html>
<head>
<script>
function boom()
{
document.documentElement.offsetHeight;
document.documentElement.style.direction = "rtl";
document.documentElement.offsetHeight;
var s = document.getElementById("s");
s.firstChild.remove();
document.documentElement.offsetHeight;
}
</script>
</head>
<body onload="boom();" style="width: 1px;"><span id="s"> x y</span></body>
</html>