souporserious / get-node-dimensions

Get accurate element dimensions, even if it's hidden!
MIT License
20 stars 5 forks source link

getComputedStyle might return null #8

Closed timocov closed 6 years ago

timocov commented 6 years ago

According to bug in Firefox reported 8 years ago is it possible to handle such cases? For example return invalid dimensions or dimensions with zero values