<script>
    document.addEventListener("DOMContentLoaded", function () {
        let t = document.querySelector("#t");
        t.style.position = "absolute";
        window.getComputedStyle(t).position;
    }, false);
</script>

<table id="t">
    <tr>
        <td></td>
    </tr>
</table>