Commit Graph

154 Commits

Author SHA1 Message Date
Scott González
1272fca9ef Selectmenu: Don't use active items at all
Menus only use active items for nested menus which selectmenu doesn't support.
Selectmenu should only be working with focused items.

Ref gh-1224
2014-04-18 12:37:06 -04:00
Jörn Zaefferer
0c754f9d9e Selectmenu: Refactor appendTo option tests 2014-02-21 13:40:32 +01:00
Jörn Zaefferer
fa99e23d18 Selectmenu: Fall back to .ui-front searching for empty jQuery objects
Fixes #9757
2014-02-21 13:35:34 +01:00
Jörn Zaefferer
822f3cd9d0 Tests: Update to sane QUnit markup 2014-02-20 17:05:02 +01:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Felix Nagel
0cc8554077 Selectmenu Tests: add unit tests for empty options 2013-12-18 19:05:17 +01:00
Felix Nagel
1656cd2f34 Selectmenu Tests: add unit and visual tests for width option 2013-12-07 19:10:50 +01:00
Felix Nagel
027d8d4cab Selectmenu: close menu on other element mousedown not on click 2013-10-29 20:54:16 +01:00
Felix Nagel
480e89b1aa Selectmenu Tests: remove widthMenu option and rename widthButton option to width 2013-10-24 00:17:22 +02:00
Felix Nagel
7af3dab075 Selectmenu: Remove links in menu items 2013-10-10 01:01:41 +02:00
Felix Nagel
f8377ed5af Selectmenu Tests: add width options to common test 2013-09-29 15:41:47 +02:00
Felix Nagel
4ddd14fe43 Selectmenu Tests: check CSS class on menu items 2013-09-04 21:34:20 +02:00
Felix Nagel
d668c94e3e Selectmenu Tests: check if button text is updated when selected option is added 2013-08-31 03:10:52 +02:00
Felix Nagel
24c293215c Selectmenu tests: lint fix 2013-08-13 19:49:17 +02:00
Felix Nagel
a156c2cadc Selectmenu tests: check item focus 2013-08-03 01:16:42 +02:00
Felix Nagel
b9fa8f7a8c Selectmenu Tests: fix lint issues 2013-07-01 23:08:55 +02:00
Felix Nagel
3483b9460b Selectmenu Tests: add item looping tests 2013-07-01 22:59:43 +02:00
Felix Nagel
2c9f5a8c01 Selectmenu Tests: use trigger instead of simulate for click events in order to make tests work in IE/ and IE8 2013-07-01 22:04:30 +02:00
Felix Nagel
ab48ae7e30 Selectmenu tests: fix lint issues 2013-06-04 21:16:13 +02:00
Felix Nagel
1821517d81 Selectmenu Tests: use asyncTest when working with focus events 2013-05-30 22:30:56 +02:00
Felix Nagel
e7d200f308 Selectmenu tests: test if close event is fired when selectmenu is closed by click on body 2013-05-30 21:21:44 +02:00
Felix Nagel
84ee9d8645 Selectmenu tests: improve all other focus callback event tests 2013-05-30 21:11:08 +02:00
Felix Nagel
29f726c553 Selectmenu tests: improve focus callback event test, add keydown focus test, add multiple focus events test 2013-05-30 21:02:38 +02:00
Felix Nagel
97cca1ed78 Selectmenu Tests: improve events tests, check for original option element not only for node type 2013-05-12 21:02:03 +02:00
Felix Nagel
1c878ce844 Selectmenu Tests: simplify asyncTest 2013-05-07 22:17:41 +02:00
Felix Nagel
ef8c792db8 Selectmenu Tests: fixed spacing 2013-05-07 22:17:22 +02:00
Felix Nagel
adcfa63ac4 Selectmenu Tests: use asyncTest when working with focus events 2013-05-01 00:33:37 +02:00
Felix Nagel
4c930fd59b Selectmenu Tests: add spaces to [0] 2013-04-29 23:15:56 +02:00
Felix Nagel
d66528b3db Selectmenu Test: rename widget method test 2013-04-29 21:08:20 +02:00
Felix Nagel
0d7b25d946 Selectmenu Tests: clean up spacing and intention 2013-04-29 21:07:59 +02:00
Felix Nagel
1cca8292e8 Selectmenu Tests: add toLowerCase() to node type checks 2013-04-29 20:59:35 +02:00
Felix Nagel
f2bd23603d Selectmenu Tests: remove unneeded test 2013-04-29 20:51:01 +02:00
Felix Nagel
1fa8c20009 Selectmenu Tests: use simulate instead of trigger 2013-04-29 20:49:06 +02:00
Felix Nagel
8b6c81e8a6 Selectmenu Tests: remove unneeded test 2013-04-29 20:48:48 +02:00
Felix Nagel
c73f7e81ad Selectmenu Tests: cleanup unit tests 2013-04-29 20:47:02 +02:00
Felix Nagel
4d986a46b5 Selectmenu Tests: rename wrapper divs 2013-04-29 20:34:16 +02:00
Felix Nagel
026f5171c7 Selectmenu Tests: updated jQuery and old testsuite version 2013-04-29 20:31:02 +02:00
Felix Nagel
2f7bd63dcf Selectmenu tests: remove aria-selected tests 2013-03-09 13:30:35 +01:00
Felix Nagel
a7ea386498 Selectmenu tests: improve widget method tests 2013-03-08 00:03:21 +01:00
Felix Nagel
6acc6bdd7f Selectmenu tests: adjust tests due to removed button wrapper element 2013-03-07 23:53:43 +01:00
Felix Nagel
8fc08a18ec Selectmenu tests: adjust test to change from button to span element 2013-03-07 23:41:08 +01:00
Felix Nagel
890881d2f8 Selectmenu tests: switch from a to button element 2013-03-07 19:15:46 +01:00
Jörn Zaefferer
d94e217065 Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables) 2013-03-01 17:18:03 +01:00
Felix Nagel
d599bf9ffd Selectmenu tests: CGL, trim triling spaces 2013-02-14 00:04:14 +01:00
Felix Nagel
f4342715a7 Selectmenu tests: remove console statements 2013-02-13 23:32:20 +01:00
Felix Nagel
75cfcf2235 Selectmenu tests: wrong selected item when using keyboard control on button and focusing menu item before 2013-02-13 22:18:12 +01:00
Felix Nagel
fdf3af681d Selectmenu tests: check for too much fired focus events 2013-02-13 22:06:30 +01:00
Felix Nagel
b81bb0b983 Selectmenu tests: add unit test to make sure button text is changed when refreshing selectmenu 2013-02-09 03:26:53 +01:00
Felix Nagel
f244108d28 Selectmenu tests: Convert single quotes to double quotes 2013-01-02 20:28:22 +01:00
Felix Nagel
84621940bf Selectmenu tests: remove option dropdown 2012-12-20 00:12:35 +01:00
Felix Nagel
1b1dbd8e3a Selectmenu tests: add Position plugin to loaded resources 2012-12-15 02:25:41 +01:00
Felix Nagel
ae68ab8118 Selectmenu tests: improve appendTo option tests 2012-12-15 02:24:10 +01:00
Felix Nagel
930e9d5993 Selectmenu tests: adjust common test to new appendTo mechanism 2012-12-15 02:23:04 +01:00
Felix Nagel
812a90fc82 Selectmenu tests: improve focus event test so its possible to test for too much focus events from menu widget 2012-12-12 19:30:45 +01:00
Felix Nagel
0d4a8dca55 Selectmenu tests: Upgrade jQuery to 1.8.3 2012-11-23 13:45:01 +01:00
Felix Nagel
2bb459f1b6 Selectmenu tests: lint fixes 2012-11-13 21:58:23 +01:00
Felix Nagel
94b3a65c66 Selectmenu tests: adjust accessibility test 2012-11-10 01:37:54 +01:00
Felix Nagel
e7e73cec07 Selectmenu tests: aria-activedescendant für button 2012-10-25 22:24:50 +02:00
Felix Nagel
e059376eae Selectmenu tests: add test for button aria-labelledby attribute 2012-10-25 20:53:57 +02:00
Felix Nagel
fb87e1c557 Selectmenu tests: Added test for widget() method. 2012-08-30 23:38:56 +02:00
Felix Nagel
06372cdcc8 Selectmenu: follow-up to 'split core unit test for state synchronization in keydown and click' 2012-07-16 21:38:47 +02:00
Felix Nagel
83f4249723 Selectmenu: split core unit test for state synchronization in keydown and click 2012-07-16 21:31:18 +02:00
Felix Nagel
37a80477c0 Selectmenu: small fixes for lint tests 2012-05-24 18:54:47 +02:00
Felix Nagel
c3f6bd912e Selectmenu: trim trailing spaces 2012-05-16 20:43:42 +02:00
Felix Nagel
ff957dd287 Selectmenu: Update unit tests 2012-05-16 20:30:30 +02:00
Felix Nagel
4460376a85 Selectmenu: Upgrade tests to jQuery 1.7.2 2012-05-16 20:11:42 +02:00
Felix Nagel
ec5f2ae34a Selectmenu: removed unnecessary unit test (has link test for disabled items) 2012-04-01 23:18:32 +02:00
Scott González
94f85149db Tests: equals() -> equal(). 2012-02-29 22:11:20 -05:00
Scott González
8c10c1e41b Revert "Selectmenu: added a temp fix for Safari to make unit test work, see https://github.com/jquery/jquery-ui/pull/492#issuecomment-4214604"
This reverts commit 72c17f0614.
2012-02-29 22:09:13 -05:00
Felix Nagel
72c17f0614 Selectmenu: added a temp fix for Safari to make unit test work, see https://github.com/jquery/jquery-ui/pull/492#issuecomment-4214604 2012-02-28 19:21:50 +01:00
Felix Nagel
e9a35319d4 Selectmenu: adjust and improve unit tests 2012-02-26 01:24:52 +01:00
Felix Nagel
29effb38eb Selectmenu: removed Button widget dependency 2012-02-23 23:25:03 +01:00
Felix Nagel
6957f9f32f Selectmenu: fixed small typo 2012-02-23 22:55:41 +01:00
Felix Nagel
afcdd6a75c Selectmenu: cleanup unit tests, removing mass test 2012-02-22 00:09:44 +01:00
Felix Nagel
52e43c076f Selectmenu: re-enabled lazy loading of the menu items (menu refresh) 2012-02-21 23:41:00 +01:00
Jörn Zaefferer
59d15809a3 Selectmenu: Introduce menuWidget method, to get access to the menu element. Fix various tests and simplify demos accordingly. Add comment about optgroup-click-handling. 2012-02-21 20:22:13 +01:00
Jörn Zaefferer
51bd6f8927 Selectmenu: Unit tests whitespace and linting/cleanup 2012-02-21 18:08:14 +01:00
Felix Nagel
4dbbd0598a Selectmenu: implement new ARIA spec 2012-01-22 19:22:57 +01:00
Felix Nagel
50c308339c Selectmenu: fixed unit tests in IE 2012-01-22 15:44:23 +01:00
Felix Nagel
725023e30d Selectmenu: revert initial refresh method changes (with unit tests)
This reverts commit 27049fc5dc and d83e169424
2012-01-22 14:12:52 +01:00
Felix Nagel
d83e169424 Selectmenu: fixed unit tests due to initial refresh method changes 2012-01-22 13:47:22 +01:00
Felix Nagel
ba73886d3f Selectmenu: improved dropdown CSS style unit test 2012-01-13 20:46:47 +01:00
Felix Nagel
5766261af2 Selectmenu: fix unit tests (with clean-up) 2012-01-13 19:49:42 +01:00
Felix Nagel
6c049f2f9a Selectmenu: added mass (performance) unit test 2012-01-12 22:06:03 +01:00
Felix Nagel
70ba3b991e Selectmenu: fixed unit tests, needs additional check and cleanup 2012-01-12 22:04:43 +01:00
Felix Nagel
3369ec340d Selectmenu: removed option value 2012-01-12 22:01:49 +01:00
Felix Nagel
762131396e Selectmenu: improved disabled state handling 2012-01-11 21:20:24 +01:00
Felix Nagel
db4acf61d1 Merge pull request #536 from danwellman/selectmenu
Selectmenu: additional unit tests
2012-01-11 11:24:13 -08:00
Felix Nagel
8e27345e5a Selectmenu: improved a11y unit test 2011-12-22 03:07:18 +01:00
Dan Wellman
d02f6063e2 Selectmenu: updated options and events unit tests 2011-12-13 22:24:12 +00:00
Dan Wellman
c1c0827c67 Selectmenu: updated options and events unit tests 2011-12-12 23:39:06 +00:00
Dan Wellman
7d5238ad63 Selectmenu: removed duplicates from options unit tests and added new options and events tests 2011-12-01 15:52:12 +00:00
Dan Wellman
716bf407d2 removed duplicates from options unit tests and added new options and events tests 2011-12-01 15:36:49 +00:00
Dan Wellman
f381749ed7 Updates to events and options unit tests 2011-12-01 15:12:03 +00:00
Dan Wellman
a4fd5449b2 Merge remote-tracking branch 'upstream/selectmenu' into selectmenu 2011-11-28 08:38:34 +00:00
Felix Nagel
53ea93327e Selectmenu: improved method unit tests 2011-11-28 01:22:41 +01:00
Dan Wellman
fce4725a8a Selectmenu: added option unit tests 2011-11-25 10:32:44 +00:00
Dan Wellman
63d77ae477 Selectmenu: Added event unit tests 2011-11-24 15:50:20 +00:00
Felix Nagel
d97b6db2cd Selectmenu: added basic method unit tests 2011-11-22 00:35:27 +01:00
Felix Nagel
74b8a504bc Selectmenu: added state synchronization unit test 2011-11-21 21:54:04 +01:00