diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-03-16 18:23:21 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-03-23 18:14:37 +0100 |
commit | 62ae2d0fb7ac011bf2ad778f8158de408e785927 (patch) | |
tree | 9682a49a6a15442124cab4c06e67053b092a4cf9 /external | |
parent | 555a50d340706e3e1e0de09231050493d0ad841e (diff) | |
download | jquery-62ae2d0fb7ac011bf2ad778f8158de408e785927.tar.gz jquery-62ae2d0fb7ac011bf2ad778f8158de408e785927.zip |
Offset: Round offset value for the sake of floating errors
IE10+ may return not exactly the offset.top value set in an offset callback
if parent has fractional top offset itself. Checking for being close to the
desired result fixes the test error.
Fixes gh-2147
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions