5 ms·
Invoking `getComputedStyle` should also do the trick: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle https://developer.mozilla.org/en-
by jakub_jo 4y ago
Invoking `getComputedStyle` should also do the trick: https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle https://developer.mozilla.org/en-US/docs/Web/API/Window/getC...
- londons_explore 4y agogetComputedStyle causes a layout to occur, but doesn't guarantee that rendering is actually done.