2 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 5y 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 5y agogetComputedStyle causes a layout to occur, but doesn't guarantee that rendering is actually done.