Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html>
<head></head>
<body>
<div style="position: absolute; outline: 1px solid magenta;"><input id="input" type="file"></div>
<script>
document.body.offsetHeight;
document.getElementById("input").style.position = "absolute";
</script>
</body>
</html>