Skip to content

Tests: Fix offset tests in jQuery 3.0-3.1 #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2020

Conversation

mgol
Copy link
Member

@mgol mgol commented May 16, 2020

.offset() in jQuery 3.0.0-3.1.1 sometimes returns an object with more than
just top & left properties. This was fixed in jQuery 3.2.0. Since we're not
in a business of fixing older jQuery versions here, this commit updates the test
instead.

Ref jquery/jquery#3367
Ref gh-352

See the failures at http://swarm.jquery.org/job/9837.

`.offset()` in jQuery 3.0.0-3.1.1 sometimes returns an object with more than
just `top` & `left` properties. This was fixed in jQuery 3.2.0. Since we're not
in a business of fixing older jQuery versions here, this commit updates the test
instead.

Ref jquery/jquery#3367
Ref jquerygh-352
@mgol mgol requested a review from dmethvin May 16, 2020 06:22
@mgol mgol added this to the 3.3.1 milestone May 16, 2020
@mgol mgol merged commit d600d53 into jquery:master May 16, 2020
@mgol mgol deleted the offset-jquery-3.1 branch May 16, 2020 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants