aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu
Commit message (Collapse)AuthorAgeFilesLines
* 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-095-0/+0
| | | | Ref gh-1528
* Selectmenu: Convert tests to new infrastructureScott González2015-04-096-37/+32
| | | | | 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
* Selectmenu: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-113-21/+19
|
* Selectmenu: Add classes optionAlexander Schmitz2015-03-113-1/+20
| | | | | Ref #7053 Ref gh-1411
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Selectmenu: Support `width: false` and default to 14emScott González2015-03-052-4/+7
| | | | | | | | | | `width: null` still matches the width of the original element. `width: false` prevents an inline style from being set for the width. This makes it easy to set the width via a stylesheet and allows the use of any unit for setting the width, such as the new default of `14em`. Fixes #11198 Closes gh-1467
* Tests: Fix style issues with missing or multiple line breaksJörn Zaefferer2015-01-242-3/+0
| | | | | As pointed out by jscs, after a esformatter run. The latter doesn't address these, so fixing them manually.
* Menu: Use ui-state-active consistentlyJörn Zaefferer2015-01-211-1/+1
| | | | | | | | So far we were using ui-state-active on active parent items, ui-state-focus on active child items. The theme update highlighted the visual inconsistency. With this change, only ui-state-active is used. Fixes #10692
* Selectmenu: Better handling when there are no optionsScott González2015-01-121-0/+14
| | | | | | Fixes #10662 Closes gh-1370 Closes gh-1423
* Selectmenu: Copy title attributesFelix Nagel2014-11-041-8/+16
| | | | | Fixes #10435 Closes gh-1298
* Selectmenu: Introduce _renderButtonItem() methodFelix Nagel2014-11-041-0/+34
| | | | | Fixes #10142 Closes gh-1299
* Selectmenu: Re-add wrappers to menu itemsTJ VanToll2014-10-251-43/+44
|
* 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
|
* Selectmenu: Remove unused var in testScott González2014-07-291-1/+1
|
* Selectmenu: Don't check menu width in width option testsScott González2014-07-291-13/+1
|
* Selectmenu: Properly set width for buttonScott González2014-07-291-2/+10
| | | | | Fixes #10145 Closes gh-1296
* Tests: Use closeEnough() to account for rounding differencesTJ VanToll2014-06-251-1/+1
| | | | | | | | | Selectmenu's test suite broke with b0e8380, which changed the padding used by the menu widget. Selectmenu conditionally adds pixels to the menu's width, and using closeEnough() accounts for that and the rounding differences across browsers. Closes gh-1275
* 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
* Selectmenu: Work around test bug in IEScott González2014-04-241-1/+1
|
* Selectmenu: Test cleanupScott González2014-04-221-19/+33
|
* Selectmenu: Test cleanupScott González2014-04-222-49/+47
|
* Selectmenu: Test cleanupScott González2014-04-221-45/+47
|
* Selectmenu: Test cleanupScott González2014-04-211-50/+61
|
* Selectmenu: Default disabled option to nullScott González2014-04-211-2/+2
|
* Selectmenu: Fix reference to jQuery in testsScott González2014-04-211-1/+1
|
* Selectmenu: Remove unused varScott González2014-04-181-1/+1
|
* Selectmenu: Don't use active items at allScott González2014-04-181-15/+11
| | | | | | | Menus only use active items for nested menus which selectmenu doesn't support. Selectmenu should only be working with focused items. Ref gh-1224
* Selectmenu: Refactor appendTo option testsJörn Zaefferer2014-02-211-16/+27
|
* Selectmenu: Fall back to .ui-front searching for empty jQuery objectsJörn Zaefferer2014-02-211-1/+6
| | | | Fixes #9757
* 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-6/+6
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Selectmenu Tests: add unit tests for empty optionsFelix Nagel2013-12-181-0/+32
|
* Selectmenu Tests: add unit and visual tests for width optionFelix Nagel2013-12-071-0/+39
|
* Selectmenu: close menu on other element mousedown not on clickFelix Nagel2013-10-291-1/+1
|
* Selectmenu Tests: remove widthMenu option and rename widthButton option to widthFelix Nagel2013-10-241-2/+1
|
* Selectmenu: Remove links in menu itemsFelix Nagel2013-10-102-12/+12
|
* Selectmenu Tests: add width options to common testFelix Nagel2013-09-291-0/+2
|
* Selectmenu Tests: check CSS class on menu itemsFelix Nagel2013-09-041-18/+28
|
* Selectmenu Tests: check if button text is updated when selected option is addedFelix Nagel2013-08-311-2/+6
|
* Selectmenu tests: lint fixFelix Nagel2013-08-131-1/+1
|
* Selectmenu tests: check item focusFelix Nagel2013-08-031-0/+37
|
* Selectmenu Tests: fix lint issuesFelix Nagel2013-07-011-2/+1
|
* Selectmenu Tests: add item looping testsFelix Nagel2013-07-011-0/+28
|
* Selectmenu Tests: use trigger instead of simulate for click events in order ↵Felix Nagel2013-07-012-9/+9
| | | | to make tests work in IE/ and IE8
* Selectmenu tests: fix lint issuesFelix Nagel2013-06-042-7/+6
|
* Selectmenu Tests: use asyncTest when working with focus eventsFelix Nagel2013-05-302-32/+50
|
* Selectmenu tests: test if close event is fired when selectmenu is closed by ↵Felix Nagel2013-05-301-2/+5
| | | | click on body