| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Make sure the custom element added by the onUpdateDatepicker callback still exists and is not duplicated after calling refresh and setDate.
|
|
|
|
|
|
| |
Add a new option named onUpdateDatepicker that allows a custom callback
to be provided. If provided, the callback is called at the end of
$.datepicker._updateDatepicker.
|
| |
|
|
|
|
| |
Fixes #14991
Closes gh-1957
|
|
|
|
|
|
|
|
| |
Instead of using enormous HTML strings, various elements are now constructed
using jQuery APIs. This makes it more obvious user-provided data is used
correctly.
Fixes #15284
Closes gh-1953
|
|
|
| |
Closes gh-1955
|
|
|
| |
Closes gh-1954
|
|
|
|
|
|
| |
In IE with jQuery 1.8 focusout may not happen immediately so some checks
need to be done later.
Closes gh-1952
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In IE in jQuery 3.4+ a sequence:
```js
$( inputNode ).trigger( "focus" ).trigger( "blur" ).trigger( "focus" );
```
doesn't end up with a focused input. However, in this test we only want to check
that the last focused input receives the focus back when `_focusTabbable()` is
called which in reality doesn't happen so quickly so let's avoid the issue by
waiting a bit.
Ref jquery/jquery#4856
Closes gh-1951
|
|
|
|
|
|
|
|
|
| |
Some bad pages are being detected as Catalan randomly which makes the build
fail. This is reproducible both locally & on Travis. PR gh-1949 added a new
regex to account for this error but it didn't escape parens properly so it's
not matching the problematic error message.
Ref gh-1949
Closes gh-1950
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Some bad pages are being detected as Catalan randomly which makes the build
fail. This is reproducible both locally & on Travis. This commit adds a new
regex to account for this error.
Closes gh-1949
|
|
|
| |
Closes gh-1948
|
|
|
|
|
|
|
|
|
|
|
| |
Focus re-triggering in jQuery 3.4/3.5 makes the original element
have its focus event propagated last, breaking the re-targeting.
Trigger focus in a delay in addition if needed to avoid the issue.
This fixes the "interaction between overlay and other dialogs" core dialog
test when tested against jQuery 3.4/3.5.
Closes gh-1946
Ref jquery/jquery#4382
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery >=3.4.0 uses a special focus/blur handler pair needed to fix various
issues with checkboxes/radio buttons as well as being able to pass data in focus
triggers. This leaves extra focus & blur events if any of these events were ever
listened to at a particular element.
We've started skipping these handlers in the `domEqual` assertion in gh-1930 but
we missed a case where an event is triggered before any handler is attached -
jQuery >=3.4.0 attaches then an extra noop listener just to force the code path
to go through the setup code before the trigger happens. We now skip this extra
handler as well.
This fixes a test failure in "dialog: methods" destroy tests.
Closes gh-1945
Ref jquery/jquery#4496
Ref gh-1930
|
|
|
| |
Closes gh-1944
|
|
|
| |
Closes gh-1894
|
|
|
|
|
|
|
|
|
|
|
| |
IE filter property violates standard CSS parsing rules. Because of that, IE 8
added `-ms-filter` which accepts the same values but quoted:
https://web.archive.org/web/20101112132308/http://blogs.msdn.com/b/ie/archive/2008/09/08/microsoft-css-vendor-extensions.aspx
Both `filter` & `-ms-filter` serialize to the same `filter` property in
`currentStyle`.
This commit switches to that new property to resolve csslint issues.
Closes gh-1939
|
|
|
|
|
|
|
|
| |
JSHint, JSCS & QUnit-related packages are not updated as they need more code
adjustments.
Fixes #15112
Closes gh-1882
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
| |
Also, migrate to a Java build as we need JDK 8 and it's easier to
install a specific Node.js version in a Java image than vice-versa.
Closes gh-1938
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix for `options === true` when using jQuery UI under `use strict`,
which throws:
```
Uncaught TypeError: Cannot create property 'complete' on boolean 'true'
```
on line:
```js
options.complete = callback;
```
Closes gh-1931
|
|
|
|
|
|
| |
This will make it easier to e.g. now exclude Edge Legacy when testing against
jQuery 4.x.
Closes gh-1936
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
That upgrade makes UI pass the whole test suite without a single jQuery Migrate
warning. 🎉
Closes gh-1932
|
| |
|
|
|
| |
Closes gh-1933
|
|
|
|
|
|
|
|
|
|
| |
jQuery >=3.2 doesn't include scrollbars in `.height()`, this commit switches
it to `.innerHeight()` which does so in jQuery >=3.3. In jQuery 3.2 it doesn't
either so include scrollbars in innerHeight, add it back.
Using `.innerHeight()` instead of `.height()` should be fine as menu doesn't
define padding styles.
Closes gh-1929
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jQuery >=3.4.0 uses a special focus/blur handler pair
needed to fix various issues with checkboxes/radio buttons
as well as being able to pass data in focus triggers.
However, this leaves dummy focus & blur events if any of these
events were ever listened to at a particular element. There's not
a lot UI can do to fix this so we now just skip these handlers for
data comparisons in tests.
Ref jquery/jquery#4496
Closes gh-1930
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
Closes gh-1921
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This is necessary to catch all possible warnings that the test files
may trigger.
Closes gh-1918
|
|
|
|
|
| |
The file now contains many more than just jQuery 1.7 patches.
Closes gh-1917
|
|
|
| |
Closes gh-1916
|
|
|
| |
Closes gh-1915
|
|
|
|
|
|
| |
The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.
Closes gh-1914
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes gh-1905
|
|
|
|
|
|
| |
`.disableSelection()` was deprecated in v1.9:
http://api.jqueryui.com/disableSelection/
Closes gh-1856
|
|
|
|
|
|
|
| |
The term for "Today" in Danish is "I dag" not "Idag". This is a common misspelling in the Danish language.
see https://dsn.dk/?retskriv=idag
Dansk Sprognævn (DSN) is the authority over the Danish language.
Closes gh-1862
|