Skip to content

Tests: Fix selectmenu width tests in Firefox with jQuery 3.0 & 3.1 #2159

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 10, 2023

Conversation

mgol
Copy link
Member

@mgol mgol commented Mar 30, 2023

jQuery 3.0 & 3.1 used getBoundingClientRect() in its width/height calculations and that causes minor differences in fractional width computations. Allow a tiny delta in tests to fix those tests breaking in Firefox.

Ref jquery/jquery#3561

jQuery 3.0 & 3.1 used `getBoundingClientRect()` in its `width`/`height`
calculations and that causes minor differences in fractional width computations.
Allow a tiny delta in tests to fix those tests breaking in Firefox.

Ref jquery/jquery#3561
@mgol mgol added this to the 1.13.3 milestone Mar 30, 2023
@mgol mgol requested a review from fnagel March 30, 2023 20:44
@mgol mgol self-assigned this Mar 30, 2023
@mgol mgol merged commit 23655f0 into jquery:main May 10, 2023
@mgol mgol deleted the selectmenu-fx-tests-fixes branch May 10, 2023 08:56
Copy link
Member

@fnagel fnagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants