Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<head>
<script type="text/javascript">
function boom()
{
document.getElementById("k").style.position = "fixed";
document.documentElement.offsetHeight;
document.getElementById("g").style.textAlign = "";
}
</script>
</head>
<body onload="boom();">
<div style="text-align: right;" id="g"><div style="direction: rtl; max-width: -moz-fit-content;"><div style="column-width: 1px;">A B<hr/>C D <input/><hr/></div><div id="k"><div style="width: 150px; float: right;"/><div style="width: 100px; float: right;"/></div><div style="padding-left: 40px;"/></div></div>
</body>
</html>