Commit Graph

1496 Commits

Author SHA1 Message Date
kborchers
33df9b788d Menu tests: Update tests to test mouseenter instead of mouseover 2012-04-19 23:50:52 -05:00
TJ VanToll
6150abae49 Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page. 2012-04-19 20:55:02 -04:00
Scott González
d62d9d4eff Spinner tests: Don't pollute the global namespace with helpers. 2012-04-19 13:12:23 -04:00
Scott González
e9d5079b04 Tests: Move commonWidgetTests() to TestHelpers. 2012-04-19 13:03:21 -04:00
Scott González
33e93ef7f0 Tabs tests: Don't pollute the global namespace with helpers. 2012-04-19 12:53:13 -04:00
kborchers
c16bd7c510 Menu tests: Don't pollute the global namespace with helpers. 2012-04-19 11:19:52 -05:00
Scott González
163555d7bf Accordion tests: Don't polloute the global namespace with helpers. 2012-04-19 11:37:39 -04:00
Scott González
0e8d9dde20 Tests: Lint. 2012-04-19 11:21:24 -04:00
Scott González
266cc84013 Tests: Lint. 2012-04-19 11:17:35 -04:00
Scott González
af1b4d859d Tests: Lint. 2012-04-19 10:50:09 -04:00
Scott González
0a5a9090f8 Tests: Lint. 2012-04-19 10:28:26 -04:00
kborchers
58a120bb4b Merge branch 'menuaria' into master 2012-04-19 09:24:08 -05:00
Scott González
aa187f57d1 Tests: Lint 2012-04-19 09:39:21 -04:00
Scott González
a0fb2c227e Tests: Lint. 2012-04-18 22:46:39 -04:00
Scott González
a28983086e Tests: Lint. 2012-04-18 22:36:15 -04:00
kborchers
890a45a22c Menu: Add unit tests for testing disabled items 2012-04-18 21:29:39 -05:00
kborchers
1ce42f4328 Menu: Modified interactions to allow keyboard navigation to disabled items so that they are announced by screen readers but prevent selection of and navigation to sub-menus of disabled items 2012-04-16 23:30:33 -05:00
Jörn Zaefferer
a5fc9eb7db Position: Expose target and element dimensions to allow further customization, like calculating the angle between the two elements 2012-04-13 16:05:29 +02:00
Jörn Zaefferer
7dcfae7da2 Position: Extract getWithinInfo method, use that for tests that call getScrollInfo directly, pass within info to that, gets rid of a few more DOM accesses 2012-04-13 15:05:43 +02:00
Jörn Zaefferer
e1a80d5900 Position: Cleanup feedback test page 2012-04-12 17:10:32 +02:00
Jörn Zaefferer
d077f9b360 Position: Improve feedback API by giving the center/middle position more weight. Also removed themeswitcher from test pages, now load faster 2012-04-12 01:32:30 +02:00
Jörn Zaefferer
260261255b Position: Extend feedback test page to include two mouse-positioned elements, highlights the 0px center/middle limitation
Also rename the demo file to match the variables names, 'feedback', instead of 'notification'
2012-04-11 15:20:56 +02:00
Jörn Zaefferer
e5ba731019 Position: Use a separate object and argument for the feedback information, keeping position props as they were 2012-04-10 22:16:38 +02:00
Jörn Zaefferer
479530bb61 Position: First draft for a new notification API, via using callback, telling you were the of-element is, not just when something flipped. New test page demonstrates usage 2012-04-10 18:15:30 +02:00
kborchers
44ef35eb6f Menu: Add dividers using empty list items 2012-04-07 15:38:27 -05:00
Scott González
96f9c84b7b Autocomplete: Move race condition logic from ajax requests to general response handler. Fixes #8234 - Autocomplete: Automatic race-condition handling for custom sources. 2012-04-03 16:47:14 -04:00
Jörn Zaefferer
037db084f2 Position: Extend main visual test page with simple 'arrow' callouts, as a starting pointing for a better collision notification API 2012-04-03 10:49:34 +02:00
Jörn Zaefferer
b2f8814d0a Tooltip: Remove old callout test page. Completely broken at this point, not worth fixing 2012-04-03 10:35: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
4a6692a57a Accordion: Added animation tests. 2012-03-27 18:05:51 -04:00
Scott González
6634e40053 Accordion: Fixed post-init changes to event option and added tests for keyboard support. 2012-03-27 16:49:05 -04:00
Scott González
a709943a8b Datepicker tests: Use $.ui.keyCode instead of $.simulate.VK_*. 2012-03-27 14:46:13 -04:00
Hans Hillen
0370170b2f Accordion: Fixed ARIA support and added proper keyboard support. 2012-03-27 10:19:35 -04:00
Scott González
89ff5c5232 Upgrade jQuery to 1.7.2. 2012-03-22 09:45:22 -04:00
kborchers
e38feeacb6 Merge branch 'master' into selectmenu 2012-03-18 21:19:19 -05:00
Jörn Zaefferer
6de8030f01 Merge branch 'accordion-cleanup' 2012-03-18 15:46:11 +01:00
Scott González
682a321d1e Merge branch 'master' into selectmenu 2012-03-14 13:42:48 -04:00
Jörn Zaefferer
575baa0e2c Updated to QUnit 1.4.0.
Added expect(0) to make tabs and tooltip tests pass, even though those assertions are actually missing.

Introduces dialog and slider failures when running in composite all.html suite, all green when running one by one, also all-active.html is green.
2012-03-10 15:39:37 +01:00
Scott González
edec16acbb Added composite test suite for all 'active' tests. 2012-03-08 11:11:30 -05:00
Scott González
932fe888c0 Updated copyright year. 2012-03-08 10:53:08 -05:00
Jörn Zaefferer
c7cf13f5ed Accordion: Update method tests - active option still works when accordion is disabled 2012-03-07 19:54:06 +01:00
Jörn Zaefferer
724772e591 Accordion: Update test helper to use QUnit.push instead of deepEqual to get useful stacktrace 2012-03-07 19:45:20 +01:00
Jörn Zaefferer
0509582773 Accordion: Fix unbinding of accordion event option when dealing with multiple events. Make sure to unbind only those namespaced to .accordion 2012-03-07 19:17:09 +01:00
Jörn Zaefferer
f65d6b92cc Merge branch 'data-naming' 2012-03-01 15:19:57 +01:00
Jörn Zaefferer
5e51b8db28 Update Widget data naming/usage. Remove unnecessary fallbacks, update .removeData to use full name. 2012-03-01 15:03:30 +01:00
Jörn Zaefferer
5fda4f6828 Update data naming for Widget, including backwards compability. Updated tests and added one for the custom expression. Partial fix for #7810 2012-03-01 14:30:02 +01:00
Scott González
94f85149db Tests: equals() -> equal(). 2012-02-29 22:11:20 -05:00
Scott González
b4d9eee966 Merge branch 'master' into selectmenu 2012-02-29 22:09:26 -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
Scott González
63215a6875 Tests: Cleaned up simulate. Still more work to do. 2012-02-29 22:08:47 -05:00
Jörn Zaefferer
72023dd045 Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal. 2012-02-29 18:36:40 +01:00
Jörn Zaefferer
e6b7486abf Datepicker: Fix a bad assertion - actual result is valid. 2012-02-29 18:36:39 +01: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
Scott González
02855292f2 Accordion: Removed requirement for headers contain a child (and removed associated ui-accordion-heading class). 2012-02-27 09:05:22 -05:00
kborchers
4da7ec37ac Menu: Add default null callbacks and update unit tests 2012-02-26 22:52:38 -06:00
Scott González
3f56f8dfc6 Accordion: Added visual tests for nested accordions with differing icons options. 2012-02-26 21:57:48 -05:00
Felix Nagel
e299e9ad66 Selectmenu: added empty.html visual test, small improvements in html files 2012-02-26 02:52:23 +01:00
Felix Nagel
156d0fbf09 Selectmenu: fix for IEs item hover problem, overflow CSS properties now included 2012-02-26 02:16:50 +01:00
Felix Nagel
e9a35319d4 Selectmenu: adjust and improve unit tests 2012-02-26 01:24:52 +01:00
Felix Nagel
1fbf5cb4c7 Selectmenu: small typo in visual test 2012-02-26 01:04:32 +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
Jörn Zaefferer
58a5e23a78 Tooltip: Replace blur with focusout to deal with inputs nested in tooltipped elements. 2012-02-23 19:39:43 +01:00
Felix Nagel
af0d520704 Selectmenu: merge themeswitcher with compatibility visual test 2012-02-22 00:22:08 +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
Jörn Zaefferer
6528b48b47 Merge branch 'master' into selectmenu 2012-02-21 17:48:55 +01:00
kborchers
e2ca906141 Menu: Clean up tests to remove nested setTimeout calls 2012-02-17 16:06:14 -06:00
Scott González
f5b52a89a7 Autocomplete: Removed the timeout for the change event. Fixes #7550 - Autocomplete change event not triggered in time.
Thanks spekary for finding a workaround for IE.
2012-02-16 20:24:11 -05:00
Scott González
3d9f6b5bc7 Accordion: Rewrote the animation code. Fixes #4178 - Accordion animation a bit jumpy in some browsers. Fixes #7371 - Accordion: Incorrect size when zoomed. 2012-02-16 16:51:46 -05:00
Scott González
f262a531fa Autocomplete: Added a test for exceeding minLength, then falling below, then exceeding again. 2012-02-15 11:41:58 -05:00
Scott González
4f909c50ba Demos, Tests: Remove use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:14:36 -05:00
Scott González
530d4cb408 Autocomplete: Cancel search when closing the menu. Fixes #7523 - Autocomplete cancel pending request when text changes below minLength. 2012-02-11 10:12:51 -05:00
Scott González
2fd2ab23c9 Menu tests: Handle async focus events in IE. 2012-02-09 16:19:50 -05:00
kborchers
3ef4db2670 Menu: Focus the menu before performing keyboard unit tests. 2012-02-06 15:01:40 -06:00
kborchers
87dc9ce24a Menu: Prevent navigating to disabled menu items with the keyboard. 2012-02-06 14:12:56 -06:00
kborchers
48ad0994a0 Menu: Prevent clicking on disabled menu items and remove unnecessary extra padding from disabled items. 2012-02-03 16:12:37 -06:00
Scott González
519985f612 Visual tests: Cleaned up dialog tests. 2012-02-01 20:35:31 -05:00
Scott González
e0019ecd3d Static tests: Removed slider tests. 2012-02-01 19:54:57 -05:00
Scott González
8cd4a8330c Widget: Allow redefining a widget after other widgets have inherited from it. 2012-02-01 16:59:26 -05:00
Scott González
62a70da959 Autocomplete: Added test for close method. 2012-01-31 14:21:18 -05:00
Scott González
853b515e5c Accordion: Adjusted tests for icons: false. 2012-01-31 13:11:20 -05:00
Scott González
3919256abd Accordion: Pass header and content in create event. Fixes #7869 - Accordion: Provide header and content details in create event. 2012-01-31 11:46:31 -05:00
Felix Nagel
30211901a8 Selectmenu: removed space from file name 2012-01-25 22:30:18 +01:00
Felix Nagel
4dbbd0598a Selectmenu: implement new ARIA spec 2012-01-22 19:22:57 +01:00
kborchers
4f15e66f53 Menu: Added unit tests for the enable, disable and refresh methods as well as the disabled option. Cleaned up some variable names in unit tests. 2012-01-22 11:26:41 -06:00
Felix Nagel
50c308339c Selectmenu: fixed unit tests in IE 2012-01-22 15:44:23 +01:00
Felix Nagel
21d96f12f8 Merge branch 'master' of github.com:jquery/jquery-ui into selectmenu 2012-01-22 14:47:21 +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
Scott González
6800e1a2f9 Tabs: Pass tab and panel in create event. Fixes #7868 - Tabs: Provide tab and panel details in create event. 2012-01-21 08:46:02 -05:00
Scott González
da89fcbc07 Widget: Added _getCreateEventData(). Fixes #8045 - Widget: Ability to provide event data for create event. 2012-01-21 08:45:41 -05:00
Felix Nagel
08de75cbec Selectmenu: add refresh method to visual test 2012-01-20 00:49:10 +01:00
Scott González
13eca299a9 Menu tests: Removed trigger option. 2012-01-18 16:51:43 -05: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