Commit Graph

1378 Commits

Author SHA1 Message Date
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
79105eeb56 Tests (Simulate): Whitespace cleanup. 2011-10-31 15:06:05 -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
kborchers
1d69181746 Menu: Added the new trigger option to the defaults unit test 2011-10-19 10:18:33 -05:00
kborchers
ab3e1c5a44 Menu: Update visual test to remove bottom scroll bar in scrolling menus in IE6 and IE7 2011-10-18 21:11:03 -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
e1ec6f8ebb Menu: Refactor to get rid of var that. Cleanup some odd formattings and unneeded temp vars 2011-09-13 00:24:43 +02: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
Scott González
4415e992c5 Accordion tests: cleanup. 2011-08-03 13:52:36 -04:00
Scott González
1e9e0ed700 Tests: Removed some visual tests. 2011-08-03 10:50:20 -04:00
Scott González
bea74f2ae7 Tests: Added test suites to run individual widget tests against all supported jQuery versions. 2011-08-02 20:41:50 -04:00
Corey Frang
8108ec82db Effects: Adding a check to retain focused elements after wrapping and unwrapping in animations - Fixes #7595 - Wrapper-creating jquery-ui animations will discard any focus state during the animation - Thanks @rubyruy 2011-08-02 16:54:24 -05:00
Wesley Walser
8fe87e2885 Tests: Modified testsuites.js into a subsuiteRunner extension for QUnit. 2011-08-02 12:30:29 -04:00
Jörn Zaefferer
982b752c35 Merge branch 'widget-delegation' 2011-07-29 14:00:00 +02:00
Scott González
61caba7803 Tests: Fixed param parsing for compound test suites. 2011-07-28 14:50:06 -04:00
Jörn Zaefferer
02aad7b0ae Widget delegation: Update menu to use _bind with delegation. Clean up test. 2011-07-28 15:47:59 +02:00
Jörn Zaefferer
5a45f483d7 Merge branch 'master' into widget-delegation 2011-07-28 15:16:20 +02:00
Scott González
cec60ab3c3 Slider tests: Commented out incomplete tests and fixed defaults. 2011-07-28 08:29:29 -04:00
Scott González
719db7f9b1 Widget tests: Fixed fragile tests. 2011-07-28 08:26:59 -04:00
Scott González
d92b61e865 Tests: Added ability to run tests suites against different versions of jQuery core. 2011-07-28 07:34:31 -04:00
Jörn Zaefferer
4de759ddd2 Merge branch 'master' of github.com:jquery/jquery-ui 2011-07-27 15:42:41 +02:00
Jörn Zaefferer
a40182917e Finish jquery-1.6.2 migration 2011-07-27 15:41:38 +02:00
Scott González
3c65bc3923 Menu tests: Removed console.log() call. 2011-07-26 14:38:18 -04:00
Scott González
da0714e0dc Accordion tests: Fixed location of expect() call. 2011-07-26 14:36:18 -04:00
Scott González
02903259e1 Tests: Created a composite test suite. 2011-07-26 12:15:02 -04:00
Jörn Zaefferer
f89091105f Merge remote branch 'kborchers/menu_home_end' 2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66 Merge branch 'master' into core-1.6.1
Conflicts:
	demos/menubar/default.html
	tests/unit/autocomplete/autocomplete.html
	tests/visual/effects/effects.all.html
	ui/jquery.ui.menu.js
	ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
daadc343be Upgrade jQuery to 1.6.2. 2011-07-25 11:46:45 -04:00
Scott González
510bb40cab Tests: Fixed trailing commas. 2011-07-25 11:08:03 -04:00
kborchers
23340f1162 Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav 2011-07-25 09:13:13 -05:00
kborchers
8224c675e1 Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit 2011-07-19 16:15:59 -05:00
Richard D. Worth
b8af0d1f75 Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height 2011-07-19 07:59:21 -04:00
Scott González
0080f2d581 Use .attr() for boolean ARIA attributes. 2011-07-12 11:36:34 -04:00
Jörn Zaefferer
927857ce84 Position: Cleanup up position demo CSS and add it to the within-visual-test 2011-07-12 11:15:33 -04:00
Benjamin Sterling
d5452c0ec2 Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css 2011-07-11 19:49:56 -04:00
Jörn Zaefferer
96de2aa04a Merge remote branch 'pgraham/master' 2011-06-28 16:41:36 -05:00
Philip Graham
76e2b98a31 Updated guard against unparsed characters to allow extra characters as long as they are separated from the date by whitespace. This maintains compatibility with timepicker extensions.
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-06-28 16:40:28 +00:00
marcneuwirth
effdd5d19c Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called 2011-06-28 10:59:08 -05:00
marcneuwirth
a56aa861b1 Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed 2011-06-28 10:49:47 -05:00
Corey Frang
5c34cea06f Unit Tests: Fixing a typo in the new test for hide/show on hidden/shown 2011-06-23 07:24:48 -05:00
Corey Frang
d18cd7ed0f Effects.core: Check Visibility vs 'hide' and 'show' modes, finish immediately if neccessary - Fixes #6715 - Hide and Show try to affect hidden and showing elements 2011-06-23 07:22:34 -05:00
Corey Frang
a89ff4098a Unit Tests: Adding a unit test to make sure .stop( true, true ) clears the inline styles when using animateClass - Fixed #3928 - Class-Animation: Please add a clearInlineStyle-Option 2011-06-23 05:29:09 -05:00
Jörn Zaefferer
8b14b35dc7 Widget delegation: Fix impl and add basisc test 2011-06-19 14:59:18 +02:00
Jörn Zaefferer
aa7f8195f8 Merge branch 'master' into widget-delegation 2011-06-19 14:45:20 +02:00
Jörn Zaefferer
391282a9ae Whitespace 2011-06-19 14:42:15 +02:00
gnarf
db96e2a51f Tests: Adding visual/unit tests for scale effect. 2011-06-14 15:11:43 -05:00
Scott González
e549e18fc2 Accordion tests: Cleanup. 2011-06-13 14:51:13 -04:00
Scott González
2bc6627991 Autocomplete tests: Cleanup. 2011-06-13 14:09:44 -04:00
Scott González
ba9bd20c0d Accordion tests: Don't use deprecated assertion methods. 2011-06-13 10:54:47 -04:00
tomykaira
2c8151848d effects.core: Convert elements height/width to px and restore after animation in all effects. Fixed #5245 - Relative width elements break when wrapped for effects 2011-06-09 20:38:09 -05:00
Jörn Zaefferer
7281f9f229 Update menubar to forward menu option to nested menus, update default demo to set within update to the demo frame (for /demos) or window (standalone). Update visual test to have more useful defaults 2011-06-09 17:14:21 +02:00
Jörn Zaefferer
433ed6eecf Merge remote branch 'davidmurdoch/ticket-5645' 2011-06-09 16:40:50 +02:00
Scott González
3dea8f1786 Widget: Added ability to get deep options. Fixes #7459 - Widget: Extend .option() to get partial nested options. 2011-06-09 09:47:18 -04:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Scott González
ab703d75f6 Tooltip: Added tests for ui object in open and close events. 2011-05-30 18:51:29 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
666b53a90c Tooltip tests: Refactored and added some tests. 2011-05-28 16:20:46 -04:00
Scott González
302ad626bf Tooltip: Added some tests. 2011-05-28 15:43:22 -04:00
Scott González
e77fcaa6eb Tests: Updated version check. 2011-05-28 15:42:55 -04:00
Scott González
73c6f349fc Tooltip tests: Coding standards. 2011-05-28 13:30:00 -04:00
Glenn Goodrich
c49dbe0f01 Button: modified the event bindings for focus and blur. Fixed #6711 - checkbox/radio button do not show focused state when using Keyboard Navigation 2011-05-26 11:28:17 -04:00
David Murdoch
40c0088721 Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position 2011-05-26 14:22:12 +00:00
Richard D. Worth
de3fc0050e Simulate: account for document scroll in findCenter function. Fixes #6859 - Jquery.Simulate drag behaves incorrect when container scrolled 2011-05-26 04:58:15 -04:00
David Murdoch
cde7cc0e6f updated tests to account for scrollbar width/height 2011-05-26 01:15:05 +00:00
Scott González
af35f0bbc9 Spinner: Changed casing of option numberformat -> numberFormat. 2011-05-25 15:44:43 -04:00
gnarf
4fc5ea141d Unit Tests & effects.scale: Fixing bugs in effects unit tests - Particularly IE, found a bug in scale.js in the meantime. Fixes #7395 - Size based effects are breaking unit tests in IE - also leaking a global var 2011-05-18 18:13:37 -05:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Scott González
ad53b55f61 Tabs: Fixed load event with back compat enabled. 2011-05-17 15:46:41 -04:00
gnarf
5fb2468f9f Unit Tests: Cleaning up some code in effects unit tests, removing magic numbers used for animation durations 2011-05-16 21:41:50 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
Scott González
a88d55e60e Tabs: Enable test suites for TestSwarm. 2011-05-16 14:42:31 -04:00
Scott González
5e58859347 Tabs: Added tests for load method. 2011-05-16 14:41:27 -04:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
David Murdoch
f798b046e0 Update core visual test to allow testing while the window is scrolled. 2011-05-13 22:21:52 +00:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
David Murdoch
2bf45db9a5 Update test to make things a bit easier to test 2011-05-13 20:53:25 +00:00
gnarf
c08cf8ec6c Unit Tests: adding unit test for #7356 2011-05-12 21:09:37 -04:00
Scott González
523790b111 Merge pull request #257 from dcneiner/buttonset-rtl
Fixed #6796
2011-05-12 17:44:13 -07:00
Scott González
7e2a704a07 Merge pull request #260 from gnarf37/effects-unit
Unit Tests: effects: adding some animateClass tests
2011-05-12 17:41:02 -07:00
David Murdoch
e31d707d93 The qunit-fixture were preventing the results from being clicked. Make the results appear on top of the qunit-fixture 2011-05-12 21:07:09 +00:00
David Murdoch
c9c6908434 Another whitespace fix 2011-05-12 20:51:49 +00:00
David Murdoch
dc66f02601 Add tests for position's within 2011-05-12 20:50:16 +00:00
David Murdoch
17be87f34c Whitespace fix 2011-05-12 20:48:01 +00:00
David Murdoch
7bca8c1004 Fix typos in original tests 2011-05-12 20:44:24 +00:00
gnarf
e4204b129d Unit Tests: effects: adding some animateClass tests 2011-05-12 10:22:49 -05:00
David Murdoch
0bda22f443 Update title to reflect test 2011-05-12 14:29:27 +00:00
David Murdoch
396ed559a4 Add a new visual test for position 2011-05-12 14:27:29 +00:00
Doug Neiner
50a4186ef9 Button: Added rtl detection so corner classes would properly be applied to buttonsets. Fixed #6796. jQueryui - buttonset on rtl 2011-05-12 01:51:05 -04:00
Scott González
8b8f5bff76 Merge pull request #242 from gnarf37/effects-unit
Effects unit tests - Partial fix for #7353
2011-05-11 13:14:13 -07:00
Scott González
caca915888 Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Jörn Zaefferer
83424c6c33 Merge branch 'master' of github.com:jquery/jquery-ui 2011-05-11 19:49:16 +02:00
Jörn Zaefferer
b9153258b0 Widget: Added $.widget.extend() which does deep extending, but only on plain objects. 2011-05-11 13:37:40 -04:00