]> source.dussan.org Git - jquery.git/commit
Dimensions: Modify reliableTrDimensions support test to account for FF
authorTimmy Willison <4timmywil@gmail.com>
Mon, 11 Jan 2021 16:56:38 +0000 (11:56 -0500)
committerGitHub <noreply@github.com>
Mon, 11 Jan 2021 16:56:38 +0000 (11:56 -0500)
commitbcd40aa7a34900cca3ca646258903f3069e9bd59
tree89e01158e86ae6a79953e9c6d671b0a06d0014dd
parentbf06dd477a1bf829c68d64c7de9e2262ac8973bb
Dimensions: Modify reliableTrDimensions support test to account for FF

Firefox incorrectly (or perhaps correctly) includes table borders in computed
dimensions, but they are the only one. Workaround this by testing for it and
falling back to offset properties

Fixes gh-4529
Closes gh-4807
src/css/support.js
test/unit/dimensions.js
test/unit/support.js