Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html>
<head></head>
<body>
<div style="position: absolute"><input id="input" type="file" style="top: 100%"></div>
<script>
document.body.offsetHeight;
document.getElementById("input").style.position = "absolute";
</script>
</body>
</html>