-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3 #20313
Conversation
Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 6b1e2bc (Please note that this is a fully automated comment.) |
The Savage failure is Safari-specific, seemingly unrelated, and probably transient: https://saucelabs.com/jobs/c8bda0f8f4db468491e30a985319aabc |
…uery 3; fixes #20280 Refs jquery/jquery#3137 [skip validator]
Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED Commit: c4d1cdd (Please note that this is a fully automated comment.) |
So for SVGs the position is now determined based on |
LGTM as far as I can tell. |
Correct.
That's already the case and should remain the case. We have a unit test specifically for SVG handling: bootstrap/js/tests/unit/tooltip.js Line 1042 in d3cbb8e
|
For extra assurance, I upgraded to jQuery 3 in an experimental commit (b9ac9e5) and the Sauce tests still passed on all browsers: |
LGTM then. |
* tag 'v3.3.7' of https://github.com/twbs/bootstrap: (195 commits) Regenerate Customizer JavaScript _config.yml: Update SRI hashes for v3.3.7 grunt grunt dist Update remaining version numbers in source files Fix grunt/change-version.js to update NuGet-related files too Fix grunt/change-version.js to update .less files too NuGet: Adjust version range to allow jQuery 3 Update NuGet version numbers is preparation for v3.3.7 release Update version numbers in preparation for v3.3.7 release (twbs#20357) Discourage usage of <a>s for disabled pagination items Revert "Add pointer-events:none to disabled pager/pagination" Update iOS temporal input types support comment (twbs#20343) iOS 9.3 is still affected by https://webkit.org/b/153856 Docs: Update Safari versions affected by twbs#9774 Update jQuery version check and jQuery dependency version range (twbs#20338) Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3; fixes twbs#20280 (twbs#20313) Port twbs#20315 to v3 Clarify valid values of Carousel's `pause` option Docs CSS: Removed border from GitHub buttons (twbs#19606) ...
…uery 3; fixes twbs#20280 (twbs#20313) Refs jquery/jquery#3137 [skip validator]
Fixes #20280.
Refs jquery/jquery#3137
CC: @XhmikosR @hnrch02 @patrickhlauke