| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Implement a new option: `uiDialogTitleHeadingLevel`, allowing to change
the `span` wrapping the dialog title into a heading element (`h1`-`h6`).
Value `0` represents the `span`, values 1-6 - a heading at the specified
level.
Fixes gh-2271
Closes gh-2275
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reflect the `modal` dialog option into the `aria-modal` attribute -
when `modal` is `true`, set `aria-modal` to `"true"`.
This helps some accessibility tools like VoiceOver with their rotor
functionality as it reduces the number of elements presented.
Fixes gh-2246
Closes gh-2257
Co-authored-by: Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
|
|
|
|
| |
Closes gh-2249
|
|
|
|
|
|
| |
Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4.
Closes gh-2249
|
|
|
| |
Closes gh-2250
|
|
|
|
|
| |
Also, update a few stale URLs to what they redirect now to.
Closes gh-2244
|
|
|
|
|
|
|
| |
The test "#8958: dialog can be opened while opening" had special behavior in
jQuery 1.8 and the patch from commit 7adb13ac7c30a7ba33f1db256952be77b9e7a310
broke those assumptions. Adjust the test so that it passes again.
Closes gh-2229
|
|
|
|
|
| |
The `#favorite-animal` focus & blur handlers used to not be cleaned up after
the test automatically, leading to issues with some jQuery versions.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
* add `tests/lib/vendor/**/*` to `.eslintignore`
* move `qunit-composite` to `tests/lib` so that we can modify it
* move `qunit-assert-classes` to `tests/lib` so that we can modify it
* move `qunit-assert-close` to `tests/lib` so that we can modify it
* replace `assert.push` with `assert.pushResult`
* remove usage of `QUnit.extend`
Closes gh-2157
|
|
|
|
|
| |
Fixes #15393
Closes gh-1958
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Tests were failing in IE 10-11 with values that were off by 0.01 pixels.
Closes gh-1737
|
|
|
|
|
| |
Fixes #15016
Closes gh-1723
|
| |
|
|
|
|
|
| |
Ref gh-1632
Fixes jquery/api.jqueryui.com#281
|
|
|
|
|
| |
IE8 still doesn't keep the space in the text (or HTML) representation.
We don't really care, so adding more trims in these tests as well.
|
| |
|
| |
|
|
|
|
| |
Ref #14246
|
|
|
|
|
| |
Ref #14246
Ref gh-1588
|
|
|
|
| |
Ref #13885
|
|
|
|
| |
Ref #13885
|
| |
|
|
|
|
|
| |
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
|
|
|
|
| |
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
| |
Ref #10119
Ref gh-1528
|
|
|
|
|
|
|
| |
Should eventually replace with qunit-assert-close.
Ref #10119
Ref gh-1528
|
|
|
|
|
|
| |
This module was created from our existing implementation.
Closes gh-1532
|
|
|
|
|
|
| |
jQuery now returns `null` for empty attributes instead of `undefined`.
Closes gh-1516
|
| |
|
| |
|
|
|
|
|
| |
Ref #7053
Ref gh-1411
|
|
|
|
|
| |
Fixes #7053
Closes gh-1411
|
|
|
|
|
|
|
|
|
|
|
| |
Effects wrappers are no longer used, so the workaround and test are no
longer necessary.
This fixes tests in IE8 with jQuery 1.7.
Effectively a complete revert of 13505e5945e5532c3d56424d50ad109c665d205f
Closes gh-1481
|
|
|
|
| |
Ref gh-1481
|
| |
|
|
|
|
|
| |
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
|
|
|
|
|
| |
Fixes #9838
Closes gh-1365
|
| |
|
|
|
|
| |
Fixes #10563
|
| |
|
|
|
|
|
|
|
| |
Put each external library into its own directory.
Move jquery.js to external.
Ref gh-1266
|
|
|
|
|
|
|
|
| |
If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.
Fixes #10103
Closes gh-1265
|
|
|
|
|
|
|
|
|
|
|
| |
Copy-paste error introduced in df6110c0d424ff3306fdd5576011f2dcf4d242d0
Updates the tabbing test to be more specific about which element should
have focus, instead of only checking if focus is within the dialog.
Ref #9646
Ref #10103
Closes gh-1264
|
| |
|