]> source.dussan.org Git - jquery.git/commit
Dimensions: Add offset prop fallback to FF for unreliable TR dimensions
authorTimmy Willison <4timmywil@gmail.com>
Mon, 11 Jan 2021 16:56:08 +0000 (11:56 -0500)
committerGitHub <noreply@github.com>
Mon, 11 Jan 2021 16:56:08 +0000 (11:56 -0500)
commit3bbbc11111840d6fd5160db13f2c1a9acb05c4c4
treebd7c6a2436fba968e00617478eea9c87dcad472e
parent8969732518470a7f8e654d5bc5be0b0076cb0b87
Dimensions: Add offset prop fallback to FF for unreliable TR dimensions

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-4808
src/css.js
src/css/support.js [new file with mode: 0644]
test/unit/dimensions.js
test/unit/support.js