Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing with 4 additions and 2 deletions.