aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/accordion
Commit message (Collapse)AuthorAgeFilesLines
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-075-0/+5
| | | | | Fixes #15393 Closes gh-1958
* All: Drop support for jQuery 1.7Michał Gołębiowski-Owczarek2020-07-221-1/+1
| | | Closes gh-1923
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-165-11/+12
| | | | | | | | | | | | | 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
* All: Remove usage of jQuery positional selectorsMichał Gołębiowski-Owczarek2020-01-223-5/+23
| | | | | | | | | | | | | | | | | 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
* Accordion: Shift to use no globalsAmanpreet Singh2016-04-145-349/+361
|
* Accordion: Correct height calculated when closedAlyosha Pushak2016-02-092-1/+34
| | | | | | Fixes #11938 Closes gh-1536 Closes gh-1616
* Accordion: Style updatesAlexander Schmitz2015-08-216-178/+187
| | | | | Ref #14246 Ref gh-1588
* Accordion: Move accordion into widgets folderAlexander Schmitz2015-08-086-6/+6
| | | | Ref #13885
* Accordion: Remove core event/alias and deprecated module dependenciesAlexander Schmitz2015-05-203-7/+7
|
* Tests: Fix AMD loading in IE8Scott González2015-04-171-0/+1
| | | | | 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-096-4/+4
| | | | Ref gh-1528
* Tests: Widget test helpers extend the main helperScott González2015-04-095-18/+21
| | | | | Ref #10119 Ref gh-1528
* Accordion: Convert tests to new infrastructureScott González2015-04-097-49/+54
| | | | | 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
* All: Standard spacing inside selector stringsScott González2015-03-261-1/+1
| | | | Closes gh-1521
* Accordion: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-113-21/+23
|
* Accordion: Add classes optionAlexander Schmitz2015-03-113-9/+26
| | | | | Ref #7053 Ref gh-1411
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Accordion: Fix tests in IE 11 with jQuery 1.7-1.8Scott González2015-03-111-12/+55
| | | | Closes gh-1482
* Accordion: Set `aria-expanded` when collapsingScott González2015-01-051-25/+55
| | | | | Fixes #10703 Closes gh-1413
* All: Drop support for IE7Scott González2014-10-211-4/+0
| | | | | Fixes #9838 Closes gh-1365
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* 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-4/+4
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Accordion: moving aria-expanded from active tabpanel to active tab. Fixed ↵Monika Piotrowicz2013-10-281-6/+6
| | | | #9407 - Accordion: aria-expanded attribute on wrong element
* 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.
* Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: ↵Scott González2013-03-271-1/+10
| | | | refresh() method incorrectly opens collapsed accordion.
* Accordion: Remove deprecated content property in create event. Fixes #8999 - ↵Scott González2013-03-151-6/+1
| | | | Accordion: Remove content property from create event.
* 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
|
* Accordion: Add panel in addition to content for create event. Fixes #8998 - ↵Scott González2013-01-221-1/+6
| | | | Accordion: Create event uses content instead of panel.
* Updating to jQuery 1.9.0Kris Borchers2013-01-171-1/+1
|
* Accordion: Fix testsuite overflow issue in IE7.Jörn Zaefferer2012-12-281-0/+4
|
* Upgrade jQuery to 1.8.3.Scott González2012-11-141-1/+1
|
* Accordion: Enhance refresh to allow adding/removing panels. Fixes #4672 - ↵David Petersen2012-11-111-1/+62
| | | | Accordion: ability to add/remove panels
* Accordion: Removed change and changestart events. Fixes #6841 - Accordion: ↵Scott González2012-10-254-264/+0
| | | | Remove changestart event. Fixes #6843 - Accordion: Remove change event.
* Accordion: Removed animated option. Fixes #8601 - Accordion: Remove animated ↵Scott González2012-10-251-2/+1
| | | | option.
* Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove ↵Jörn Zaefferer2012-10-241-22/+0
| | | | resize method.
* Accordion: Removed deprecated activate method and expanded active option. ↵Jörn Zaefferer2012-10-242-122/+19
| | | | Fixes #6837 - Accordion: Remove the activate method. Fixes #6853 - Accordion: Remove support for non-number/falsey values for active option.
* Accordion: Removed deprecated icon option. Fixes #6835 - Accordion: Remove ↵Jörn Zaefferer2012-10-242-19/+2
| | | | icons.headerSelected.
* Accordion: Removed deprecated navigation options. Fixes #5870 - Accordion: ↵Jörn Zaefferer2012-10-242-32/+0
| | | | Remove navigation options.
* Accordion: Remove deprecated height options. Fixes #5868 - Accordion: Remove ↵Jörn Zaefferer2012-10-242-78/+1
| | | | clearStyle option. Fixes #5872 - Accordion: Remove autoHeight and fillSpace options.
* Accordion: handle active: null. Fixes #8694: 1.9 Accordion - active: null ↵David Petersen2012-10-181-0/+9
| | | | allows panels to be collapsible.
* Accordion: Only adjust height animations for heightStyle: content. Fix tests ↵Scott González2012-10-011-18/+18
| | | | that punch .animate().
* Upgrade jQuery to 1.8.2.Scott González2012-09-201-1/+1
|