Commit Graph

889 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Jörn Zaefferer
021243bc9b Merge branch 'master' into selectmenu 2012-01-11 20:00:04 +01:00
Scott González
31ebe7e7da Spinner: Allow strings for min, max, and step options, converting immediately to numbers based on numberFormat and culture. 2012-01-07 09:12:27 -05:00
kborchers
bd7bd936d1 Merge branch 'master' into selectmenu 2011-12-23 09:53:05 -06:00
Felix Nagel
8e27345e5a Selectmenu: improved a11y unit test 2011-12-22 03:07:18 +01:00
kborchers
c88add2269 Menu: Fix close delay and increase the default delay 2011-12-20 11:49:48 -06:00
Scott González
76c7bf6c3f Merge pull request #553 from AlbertoMonteiro/master
Dialog: When destroy is called place the element back in original DOM position. Fixed #4980 - Dialog: Destroy should place element back in original DOM position
2011-12-15 12:59:39 -08:00
Alberto Monteiro
a4b7feabd3 Dialog: When destroy is called place the element back in original DOM position. Fixed #4980 - Dialog: Destroy should place element back in original DOM position 2011-12-15 17:52:49 -03:00
kborchers
a53916b454 Merge branch 'master' into selectmenu 2011-12-15 12:57:11 -06:00
kborchers
a8d0e4c804 Menu: Fix focus handling to keep focus on the menu and prevent jumping around within the menu on mousedown 2011-12-15 12:43:28 -06: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
041de0716c Merge branch 'selectmenu' of git://github.com/jquery/jquery-ui into selectmenu 2011-12-01 15:56:36 +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
kborchers
b539e2e5c8 Merge branch 'master' into selectmenu 2011-11-30 10:49:13 -06:00
James Khoury
ce0afde900 Dialog: Modified the dialog._size() to use outerHeight in calculating the nonContentHeight. Fixed #7692 - dialog: dialog height bug is incorrect when .ui-dialog padding set. 2011-11-28 16:52:10 -05:00
meh-cfl
06f6fa8524 Autocomplete: Don't invoke a search from arrow keys when the element can have multi-line text. Fixes #7639 - Key up/key down in textarea's should optionally not toggle auto-complete. 2011-11-28 16:33:23 -05: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
Jörn Zaefferer
9bd08798c2 Merge branch 'master' into selectmenu 2011-11-24 11:25:24 +01:00
Scott González
2b9b2f28ec Autocomplete: Removed commented out test. 2011-11-23 14:26:52 -05:00
Shannon
2445e20a85 Autocomplete: Making sure we do not show search menu after a blur. Fixed #7423 - Tab out of autocomplete with remote source can leave menu showing. 2011-11-23 13:39:45 -05:00
Scott González
54fb1441fe Upgrade jQuery to 1.7.1. 2011-11-22 08:43:09 -05: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
Felix Nagel
80ba251a9b Selectmenu: remove markup unit test 2011-11-21 21:06:20 +01:00
Scott González
93214d6ddc Widget tests: Fixed _super() call in redefine test. 2011-11-21 08:43:08 -05:00
Jörn Zaefferer
d6e4d4705d Merge branch 'master' into selectmenu 2011-11-18 17:13:28 +01:00
Jörn Zaefferer
66f9e12797 Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore. 2011-11-18 17:08:40 +01:00
Scott González
924e80e576 Spinner: Handle changes to numberFormat and currency options. 2011-11-16 12:07:46 -05:00
Scott González
31b176106f Effects tests: Proper detection of fixed position support in jQuery 1.7. 2011-11-09 11:38:16 -05:00
Scott González
50dab05784 Upgrade jQuery to 1.7. 2011-11-09 10:18:33 -05:00
Felix Nagel
26603de5ba Selectmenu: added basic markup and a11y unit tests 2011-11-02 21:56:37 +01:00
Felix Nagel
ce3e7c0110 Selectmenu: fixed initial unit test by adding create callback to selectmenu_defaults.js 2011-11-02 20:14:19 +01:00
kborchers
4f9209feb0 Tests: Change the input in the effects test to a text input. This fixes failing tests in IE8 that could not focus the input. 2011-11-02 12:22:58 -05:00
Scott González
f76873c2d2 Tabs test: Increase delay in load test. 2011-11-02 09:35:20 -04:00
Scott González
253b792887 Position tests: Changed DOM structure to fix dimensions of within container. 2011-11-02 08:53:42 -04:00
Scott González
63d1cbc7ab Autocomplete tests: Fixed typo. 2011-11-01 16:26:31 -04:00
Scott González
e31adf039b Tests (Simulate): Added focus and blur support. 2011-10-31 17:28:00 -04:00
Scott González
dcac8c1f29 Tests: Added ability to run tests against minified files via ?min=1 2011-10-28 15:58:33 -04:00
ddstreet
e3156ea286 Effects Core: Do not overwrite css or class changes that aren't animated during class animation. Fixed #7106 - animateClass: css and class changes during animation are lost 2011-10-25 17:40:37 -05:00
Jörn Zaefferer
defc8d5f68 Selectmenu: Add placeholder for unit tests 2011-10-19 19:47:39 +02:00
kborchers
1d69181746 Menu: Added the new trigger option to the defaults unit test 2011-10-19 10:18:33 -05:00
Scott González
efe964d86e Upgraded jQuery to 1.6.4. 2011-10-18 09:38:27 -04:00
Corey Frang
d4d8d74b10 Scale: We can't detect this reliably currently, so assume all elements are positioned with left and top 2011-10-14 10:24:01 -05:00
Dave Methvin
9b3ada43d3 Autocomplete tests: Fix #7788, incorrect selector in autoFocus test.
jQuery 1.7 fixed a bug with positional selectors that exposed the incorrect use of `.children()` here.
2011-10-13 13:18:30 -04:00
Scott González
56bcf885c6 Tooltip tests: Adjust test to deal with blurring being async in IE. 2011-10-12 10:26:51 -04:00
Scott González
fa26847f91 Tabs: Force ajax tabs to resolve asynchronously to avoid a bug caused by cached XHRs resolving immediately in IE. 2011-10-10 15:34:47 -04:00
Scott González
8961508128 Spinner: Simulate keyup at the end of incremental tests to stop the repeat timer. 2011-10-10 14:01:12 -04:00
Scott González
c2f036277c Spinner: Added culture option. 2011-09-28 18:30:58 -04:00
Scott González
39b452e1be Effects tests: Ignore leading/trailing whitespace when comparing style properties. 2011-09-28 10:00:25 -04:00
Scott González
04e5b103ca Tooltip: Fixed defaults in tests. 2011-09-28 09:32:11 -04:00
Corey Frang
34a0479d1c Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers 2011-09-22 15:30:46 -05:00
Jörn Zaefferer
6d430e4fd3 Merge remote branch 'kborchers/menu_notJustUL' 2011-09-19 10:18:04 +02:00
kborchers
9e617bbad1 Menu: Add support for structures other than UL/LI plus visual and unit tests 2011-09-14 10:29:36 -05:00
Scott González
42337dd959 Spinner: Fix step mismatches whenever stepping, paging or using the value setter.
Thanks Nate Ferrero
2011-09-14 08:55:22 -04:00
Jörn Zaefferer
ae0c4e44ff Merge remote branch 'kborchers/menu_autoCollapse' 2011-09-12 23:54:19 +02:00
Jörn Zaefferer
3a0340f4ee Widget: return timer value from _delay 2011-09-12 23:47:09 +02:00
Jörn Zaefferer
2a6ca3fb39 Widget: Add a _delay method. Will be used in various places to replace setTimeout with custom binding (mostly getting rid of var self/that) 2011-09-12 23:37:14 +02:00
Jörn Zaefferer
d12180d1a5 Widget: Tests code cleanup 2011-09-12 23:23:54 +02:00
kborchers
94317d7aa4 Menu: Added autoCollapse as the default and added a unit test 2011-09-12 08:43:49 -05:00
Scott González
7216c08b2f Spinner: Added ability to specify custom incremental function. 2011-09-09 20:08:51 -04:00
Scott González
4387d19030 Spinner: Default min and max options to null. 2011-09-09 19:24:10 -04:00
Scott González
c5ba0535cf Autocomplete: Fixed setting of valueMethod for textareas. Fixes #7674 - Autocomplete doesn't work with textareas. 2011-08-30 20:45:48 -04:00
Corey Frang
dfe75e1b55 Dialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it would everywhere, switching back to keydown. 2011-08-20 18:05:39 -05:00
kborchers
96c2c8e639 Position: Added the missing div required for the fraction tests that were added to fix the broken test 2011-08-19 20:19:38 -05:00
Corey Frang
96e5c241e1 Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog 2011-08-19 06:03:59 -05:00
Jörn Zaefferer
25f2113cc1 Merge remote branch 'kborchers/position_flipfit2' 2011-08-15 11:32:49 +02:00
Scott González
1aea0ff4b8 Spinner: Removed value option. Don't change empty values to zero on init. Don't enforce min/max on blur. 2011-08-13 19:05:04 -04:00
kborchers
80bbebd489 Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit! 2011-08-12 22:19:52 -05:00
Scott González
257021b1af Spinner: Fixed precision when stepping.
Thanks hughlomas
2011-08-12 23:11:35 -04:00
Scott González
4587f2de68 Widget: Use this.widget() for event delegation. 2011-08-12 22:10:31 -04:00
Scott González
1729e3a32e Core: Added tests for :focusable and :tabbable form elements. 2011-08-12 09:37:48 -04:00
Scott González
18a3b53988 Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected. 2011-08-11 16:48:58 -04:00
Scott González
de7fd4c130 Spinner: Fixed integration with globalize. 2011-08-10 09:15:47 -04:00
Karl Kirch
d146297356 Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler. 2011-08-09 09:55:50 -04:00
Scott González
e827a0e280 Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
This reverts commit effdd5d19c.
2011-08-09 08:26:33 -04:00
Scott González
2a8a77a9b2 Spinner: More tests. Don't trigger spin when programmatically stepping or paging. 2011-08-07 19:11:49 -04:00
Scott González
c6c957224f Spinner: Added more tests. 2011-08-07 18:34:03 -04:00
Scott González
b8976207f3 Spinner tests: Removed IE 6 hack in destroy test. 2011-08-07 13:05:04 -04:00
Scott González
051b9e07d9 Spinner: Use _getCreateOptions() for value. 2011-08-07 08:20:14 -04:00
Scott González
8799ba0822 Spinner tests: Fixed line endings. 2011-08-07 08:10:49 -04:00
Scott González
380c2e6fbd Spinner tests: Cleanup. 2011-08-07 08:10:11 -04:00
Scott González
e9cdd576f4 Merge branch 'spinner-getCreateOptions'
Conflicts:
	ui/jquery.ui.spinner.js
2011-08-06 20:08:50 -04:00
Scott González
b10c4cdab5 Spinner: Define defaults for callbacks. 2011-08-06 17:08:50 -04:00
Scott González
160a301d96 Spinner tests: Cleanup. 2011-08-06 17:07:12 -04:00
Scott González
2b22bbdd6a Spinner: Only trigger change when the field has blurred and the value has changed. 2011-08-06 15:32:19 -04:00
Scott González
e4c0f202c8 Spinner: Use _getCreateOptions() instead of custom _markupOptions(). 2011-08-06 12:58:37 -04:00
Scott González
7134033365 Accordion tests: Cleanup. 2011-08-06 11:45:12 -04:00
Corey Frang
065aef537b Button: Adding quotes to the attribute selector for labels - Fixes #7534 - Button label selector omits quotes / fails for ids with ":" 2011-08-03 22:16:34 -05:00
Scott González
6fb68568be Tests: Cleanup. 2011-08-03 21:43:52 -04:00
Scott González
cff6b56fd4 Menu tests: Cleanup. 2011-08-03 21:15:38 -04:00
Scott González
4adb9026ea Tests: Cleanup. 2011-08-03 17:12:44 -04:00
Scott González
6867e0b551 Autocomplete tests: Fixed handling of cached ajax requests in IE. 2011-08-03 16:13:03 -04:00