Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<body>
<div style="overflow: auto; transform:translate(100px,0);">
<div style="position: relative;"><div id="x" style="position:fixed; display:none"></div></div>
</div>
<script>
document.body.getBoundingClientRect();
document.getElementById('x').style.display = '';
</script>
</body>
</html>