5 ms·
Yes using the `clip` option of screenshot(), you can get these dimensions from an element's getBoundingClientRect().
by paulirish 9y ago
Yes using the `clip` option of screenshot(), you can get these dimensions from an element's getBoundingClientRect().