jquery-ui/tests/unit/effects
Michał Gołębiowski-Owczarek 91037d66b0
Tests: Accept a small difference of animated width/height
jQuery 3.2 & newer have a different animation logic and the animated elements
width/height differ from the starting ones even at the beginning of the
animation. The point of the assertions checking that they're identical was
to ensure bug #5245 is fixed; that issue manifested by a big jump to half the
element size. To test for that, it's enough to check that the first obtained
values are close to the original ones.

This makes effects tests pass in all supported jQuery versions.

Closes gh-1928
Ref #5245
2020-07-23 15:53:36 +02:00
..
all.html Tests: Switch to the new qunit-composite module 2015-04-07 09:03:36 -04:00
core.js Tests: Accept a small difference of animated width/height 2020-07-23 15:53:36 +02:00
effects.html Tests: Fix AMD loading in IE8 2015-04-17 12:13:38 -04:00
scale.js Tests: Ensure no timers are running at the end of each test (#1920) 2020-05-16 09:16:24 +02:00