aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip
Commit message (Collapse)AuthorAgeFilesLines
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-076-3/+7
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-166-10/+56
| | | | | | | | | | | | | 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
* Tooltip: Allow tracking tooltips to be off by a fraciton of a pixelScott González2016-07-071-2/+10
| | | | Closes gh-1718
* Tooltip: Fix re-enabling of delegated tooltipsScott González2016-04-211-0/+14
| | | | | Fixes #14950 Closes gh-1699
* Tooltip: Shift to use no globalsAmanpreet Singh2016-04-145-167/+177
|
* Tooltip: Style updatesAlexander Schmitz2015-09-117-109/+114
| | | | Ref #14246
* Tooltip: Style updatesAlexander Schmitz2015-08-214-4/+4
| | | | | Ref #14246 Ref gh-1588
* Tooltip: Move tooltip into widgets directoryAlexander Schmitz2015-08-087-7/+7
| | | | Ref #13885
* Tooltip: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-203-10/+10
|
* Tooltip: Remove name attribute from elements in the live regionJiabao Wu2015-04-221-0/+25
| | | | | Fixes #11272 Closes gh-1544
* Tests: Fix AMD loading in IE8Scott González2015-04-172-0/+2
| | | | | It appears that we must load require.js via a standard script tag in order for it to work properly in IE8.
* Tests: Rename filesScott González2015-04-098-0/+0
| | | | Ref gh-1528
* Tooltip: Convert tests to new infrastructureScott González2015-04-099-69/+48
| | | | | Ref #10119 Ref gh-1528
* Tests: Switch to the new qunit-composite moduleScott González2015-04-071-2/+2
| | | | | | This module was created from our existing implementation. Closes gh-1532
* Tests: Handle jQuery git returning `null` for empty attributesScott González2015-03-252-3/+2
| | | | | | jQuery now returns `null` for empty attributes instead of `undefined`. Closes gh-1516
* Tooltip: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-112-5/+5
|
* Tooltip: Add classes optionAlexander Schmitz2015-03-117-13/+100
| | | | | Ref #7053 Ref gh-1411
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Tooltip: Register event handlers before content is loadedMarco Ziech2015-02-251-0/+22
| | | | | | Fixes #8740 Closes gh-1053 Closes gh-1456
* All: Drop support for jQuery 1.6.xJörn Zaefferer2015-01-132-11/+4
| | | | | | | | | | | Affects core, effects, position and widget. Only position has unit tests that fail with jQuery 1.6 without the workaround. Drops the 1.6.x copies jQuery of jQuery and removes them from the select in the testsuites. Fixes #10723 Closes gh-1422
* Tooltip: Accept HTMLElement and jQuery objects for the content optionDaniel Owens2015-01-121-0/+24
| | | | | | Fixes #9278 Closes #983 Closes #1421
* Tooltip: Properly track hiding and closing for delegated tooltipsScott González2014-10-091-0/+48
| | | | | Fixes #10602 Closes gh-1353
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* Tooltip: Treat the tooltip as closing until it's fully removedScott González2014-08-061-0/+20
| | | | | | | This ensures that we don't trigger the close event twice if the tooltip is destroyed during the hide animation. Closes gh-1306
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Build: Reorganize external directoryScott González2014-06-242-4/+4
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-5/+5
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Tooltip: Preserve the title after disabling twiceMichael Wiencek2014-01-091-1/+7
| | | | | Fixes #9719 Closes gh-1154
* Tooltip: Lowercase test html for IE7/8 compatJörn Zaefferer2014-01-061-1/+1
|
* Tooltip: On close and destroy only set title if empty or undefinedDaniel DeGroff2014-01-061-0/+35
| | | | | | | | | | | | | | | | | | | Ticket #8925 states that changes to the title attribute while the tooltip is open are lost on tooltip close. In the close and destroy functions, the title attribute is always written if a value was stored in the element on open. It is possible the attribute has changed and restoring the initial value may overwrite the current value. If the value is empty or undefined as set in open, do not set the title attribute. This fix has the limitation that if the user removed the title attribute or set the value to an empty string the original title value would be restored on close and destroy. Fixes #8925
* Tooltip: Improve accessibility by adding content to an aria-live divDylan Barrell2013-12-192-7/+30
| | | | | Fixes #9610 Closes gh-1118
* Updating jQuery to 1.10.2.Bruno M. Custódio2013-07-051-1/+1
| | | | | Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the tests directory.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Scott González2013-03-141-1/+6
| | | | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable: disabled should not have ui-state-disabled This reverts commit 23771d38ba9d2663f6db0243c8e992dc7ff6844a.
* Revert "Widget: Stop setting ui-state-disabled and aria by default on ↵Scott González2013-03-141-6/+1
| | | | | | setting disabled option." This needs to wait for a major release. This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Mike Sherov2013-03-111-1/+6
| | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled
* Updating 'jQuery' to 1.9.1.Bruno M. Custódio2013-02-051-1/+1
|
* Updating to jQuery 1.9.0Kris Borchers2013-01-171-1/+1
|
* Tooltip: Escape the title attribute so that it's treated as text and not ↵Scott González2012-11-271-0/+14
| | | | HTML. Fixes #8861 - Tooltip: XSS vulnerability in default content.
* Upgrade jQuery to 1.8.3.Scott González2012-11-141-1/+1
|
* Tooltip: Handle synthetic focusin events. Fixes #8740 - Tooltip: Does not ↵Scott González2012-11-141-0/+27
| | | | hide consistently with dynamically loaded content.
* Tooltip: Ignore disabled checks when closing. Fixes #8758 - Tooltip: Tooltip ↵Scott González2012-11-091-0/+13
| | | | is shown, but not hidden if element has class=ui-state-disabled.
* Tooltip: Fix default for position option, follow-up to 1d9eab1.Jörn Zaefferer2012-11-051-1/+1
|
* Tooltip: Check type on event directly, preventing TypeError when ↵Jörn Zaefferer2012-11-051-0/+8
| | | | programmatically moving focus to track-toolipped-input. Fixes #8747 - Tooltip: Using the track option within dialogs creates JS errors
* Tooltip: Use attributes, not properties, when checking for parent tooltips. ↵Scott González2012-10-282-0/+25
| | | | Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form.
* Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - ↵Jörn Zaefferer2012-10-241-0/+8
| | | | Tooltip: Disabled tooltips on initialization.
* Tooltip tests: Fixed new default value for position option.Scott González2012-10-231-2/+2
|
* Build: Enable "unused" option in jshint - Remove unused variables from ↵Mike Sherov2012-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | codebase. - Closes gh-788 Squashed commit of the following: commit 7f19f92c646f180bc067bb24123175251a64a9d6 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 10:34:28 2012 -0400 put back in fake args for signatures that we want to keep commit 257505a9e69da0c53e3a989dab87a13112045a29 Author: Mike Sherov <mike.sherov@gmail.com> Date: Tue Oct 23 08:10:20 2012 -0400 changes per @scott_gonzalez commit 12725480cb58e70865e5aa6e735009b6b035c8f3 Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:54:05 2012 -0400 clean up unused vars in ui directory commit 563595e7aee5d4a5c096b2d1de655abdf920aacd Author: Mike Sherov <mike.sherov@gmail.com> Date: Mon Oct 22 22:37:42 2012 -0400 clean up unused vars in grunt and tests
* Tooltip: Unit test for nested tooltipsJörn Zaefferer2012-10-212-1/+17
|