| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
Some of the APIs return fractional values in newer jQueries, making comparisons
sometimes not being 100% accurate. Allow some delta.
This is similar to what was already done in
98b539171b6e805fa79346a5e9896865e5213b9c but a few cases affecting IE and/or
Edge Legacy were missed.
Closes gh-1947
|
|
|
| |
Closes gh-1948
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"collapse" is similar to "hidden", with a slight difference in the case
of tr/tbody/td/colgroup elements.
See https://www.w3.org/TR/CSS22/visufx.html#visibility
See https://www.w3.org/TR/CSS22/tables.html#dynamic-effects
See https://developer.mozilla.org/en-US/docs/Web/CSS/visibility#Table_example
"visibility: collapse" elements are always not focusable, though.
Commit d3025968f34 introduced a regression by testing with `!== "hidden"`
instead of `=== "visible"`.
Closes gh-1843
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery 3.2 incorrectly handle scrollbars in WebKit/Blink-based browsers.
This is fixed in version 3.3, see https://github.com/jquery/jquery/issues/3589.
As the data here comes from jQuery directly and the changes to fix it
are non-trivial: https://github.com/jquery/jquery/pull/3656, just accept
that scrollbar data in this jQuery version is inaccurate.
Closes gh-1927
Ref jquery/jquery#3589
Ref jquery/jquery#3656
|
|
|
|
|
|
| |
jQueries older than 1.11 or 2.1 were leaving a timer in the queue which could
then influence other tests.
Closes gh-1926
|
|
|
| |
Closes gh-1923
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This helps fix issues that make tooltip tests sometimes fail when run against
jQuery 3.2 or newer due to timing differences.
Details:
* Add the `moduleAfterEach` function ensuring no timers are running.
* Attach this function via `common.testWidget`.
* Attach this function to most test suites.
* Add a tooltip test helper cleaning up leftover timers.
* Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`.
Closes gh-1920
|
|
|
| |
Closes gh-1919
|
|
|
| |
Closes gh-1916
|
|
|
| |
Closes gh-1915
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/)
and they'll be removed in jQuery 4.0.0. This PR removes their usage.
Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header)
of the accordion widget. I made it an optional function; this will need
to be documented.
The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.
Closes gh-1904
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of the changes:
* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
(jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
a jQuery object was created, chained & assigned to a variable that
was then accessed in a callback used inside of this chained
definition. Due to a timing difference in when the callback fired for
the first time in latest jQuery master, it was being called before
the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
returns fractional results in some cases, making comparisons fail when
there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
will be deprecated in jQuery 3.5)
Closes gh-1901
|
|
|
|
|
| |
Fixes #9356
Closes gh-1806
|
|
|
|
|
| |
Fixes #15157
Closes gh-1804
|
|
|
|
|
| |
Fixes #15109
Closes gh-1808
|
|
|
|
| |
Fixes #15184
|
|
|
|
|
| |
Fixes #15034
Closes gh-1807
|
|
|
|
|
| |
Fixes #15179
Closes gh-1809
|
|
|
|
|
| |
Closes gh-1798
Ref gh-1795
|
|
|
|
|
| |
Fixes #15084
Closes gh-1795
|
|
|
|
|
| |
Fixes #15139
Closes gh-1794
|
|
|
|
| |
Fixes #15098
|
|
|
|
| |
Closes gh-1766
|
|
|
|
|
| |
Fixes #15074
Closes gh-1760
|
|
|
|
|
| |
Fixes #13662
Closes gh-1578
|
|
|
|
|
| |
Fixes #10122
Closes gh-1748
|
|
|
|
|
| |
Fixes #4186
Closes gh-1750
|
|
|
|
|
| |
Fixes #15043
Closes gh-1744
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I was running into a problem with a popup menu control in a dialog; clicks
weren't working (but keyboard was working fine). It turned out that the menu
was getting destroyed before the click event could fire.
Tracked down the issue to the way draggable blurs focused controls; it was
doing the blur before it ran through the logic to figure out if the drag was
actually on the handle. I've moved the blur below these checks, so it'll only
blur things if it actually needs to handle the drag. Otherwise, it asserts no
opinion on what should and shouldn't be focused, which seems like the way
things ought to be.
Also, added a unit test to check for the expected behavior.
Fixes #15046
Closes gh-1730
|
|
|
|
|
| |
Fixes #15023
Closes gh-1740
|
| |
|
|
|
|
|
|
| |
Tests were failing in IE 10-11 with values that were off by 0.01 pixels.
Closes gh-1737
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With jQuery 3 using `requestAnimationFrame()`, the `setTimeout()` timing
for short animations wasn't working consistently. This resulted in infrequent
failures everywhere (but infrequent enough that it's hard to even notice), but
consistent failures in IE and Edge. Bumping up the duration and running the
assertions in the middle seems to give consistent results.
Eventually, we should refactor this to use `requestAnimationFrame()` in the
tests themselves to avoid problems like this.
Closes gh-1738
|
|
|
|
|
| |
Fixes #15031
Closes gh-1732
|
|
|
|
| |
Fixes #15019
|
|
|
|
|
| |
Fixes #15016
Closes gh-1723
|
| |
|
|
|
|
| |
Adds some missing tests to TestSwarm and `all.html`.
|
| |
|
|
|
|
| |
Closes gh-1718
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This hasn't been a problem for a long time and jQuery no longer removes
the hash in 3.0.0, so the test started to fail even though the actual
code is working just fine.
Ref #3627
Ref jquery/jquery#1732
|
|
|
|
|
| |
Fixes #14984
Closes gh-1713
|
|
|
|
|
| |
Fixes #14972
Closes gh-1711
|
| |
|
|
|
|
|
|
|
|
| |
Using `ui-state-highlight` caused a conflict with dialog
Fixes #14955
Closes gh-1712
Closes gh-1704
|
|
|
|
|
| |
Fixes #14967
Closes gh-1703
|