Commit Graph

1175 Commits

Author SHA1 Message Date
Mike Sherov
254f2b3698 Dev: fix the datepicker test suite and jshint everything. Fixes #8804 - Dev: re-enable the datepicker test suite 2012-11-09 16:27:45 -05:00
Mike Sherov
543abc9b1f Dev: clean up dialog test suite with new helper methods. Fixes #8803 - Dev: re-enable the dialog test suite 2012-11-09 15:02:26 -05:00
Scott González
fd48568c40 Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;' attribute is not removed from tabs when destroy is called. 2012-11-09 14:52:57 -05:00
Scott González
f5870712c1 Updated all widgets to use proper data keys when getting plugin instances. 2012-11-09 13:28:13 -05:00
Scott González
498aadf644 Tooltip: Ignore disabled checks when closing. Fixes #8758 - Tooltip: Tooltip is shown, but not hidden if element has class=ui-state-disabled. 2012-11-09 13:07:53 -05:00
Scott González
1cdeeccab0 Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove. 2012-11-09 12:54:33 -05:00
Scott González
d44557f50a Widget: Removed dual storage of widget instances. Fixes #8801 - Widget: Remove data fallbacks for widget names. 2012-11-09 12:51:26 -05:00
Scott González
84cd214486 Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled. 2012-11-09 12:39:41 -05:00
Ethan Romba
6e0a0553ce Resizable: Grid now respects min/max dimensions. Fixed #8435 - grid does not respect min/max dimensions 2012-11-09 09:48:50 -05:00
Kris Borchers
8976bc7e3d Progressbar: Refactor to better handle option changes and sanitize values. Fixes #8785 - Progressbar: Remove _value() and always sanitize value option 2012-11-08 12:02:25 -06:00
Avinash R
75bd22eb73 Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied. 2012-11-07 10:05:00 -05:00
Mathias Stenbom
0bff32a2b1 Resizable: Made handles work with complex markup. Fixes #8756 - Resizable: Complex markup for handles. 2012-11-05 13:16:48 -05:00
Jörn Zaefferer
6874f19061 Tooltip: Fix default for position option, follow-up to 1d9eab1. 2012-11-05 19:07:03 +01:00
Jörn Zaefferer
98173a3d0e Tooltip: Check type on event directly, preventing TypeError when programmatically moving focus to track-toolipped-input. Fixes #8747 - Tooltip: Using the track option within dialogs creates JS errors 2012-11-05 18:59:52 +01:00
Jörn Zaefferer
8b3e570241 Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus. 2012-11-05 18:42:41 +01:00
Scott González
8bdf0359bb Skip collision: fit test in IE until TestSwarm stops using iframes. 2012-11-05 11:31:33 -05:00
Mike Sherov
068d597166 Dev: fix IE fails in draggable and selectable - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-04 09:31:56 -05:00
Mike Sherov
3df9ea29e6 Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-03 16:17:16 -04:00
Mike Sherov
68ad80c292 Dev: Standardize sortable test suite. Fixed #8755 - Dev: Get sortable test suite to pass 2012-11-01 20:54:52 -04:00
Mike Sherov
d771048a56 Dev: Fix test failures in oldIE. Fixed #8748 - Dev: Get draggable test suite to pass 2012-10-31 10:02:01 -04:00
Mike Sherov
d85b0160f2 Dev: Standardized the resizable test suite. Fixed #8754 - Dev: Get resizable test suite to pass 2012-10-31 09:50:36 -04:00
Mike Sherov
8746042ae1 Dev: Standardized the droppable test suite. Fixed #8753 - Dev: Get droppable test suite to pass 2012-10-30 22:24:41 -04:00
Mike Sherov
b49e071d39 Dev: Standardized the selectable test suite. Fixed #8752 - Dev: Get selectable test suite to pass 2012-10-30 22:19:55 -04:00
Mike Sherov
f0daa220d6 Dev: Standardized the draggable test suite. Fixed #8748 - Dev: Get draggable test suite to pass 2012-10-30 22:13:43 -04:00
Scott González
d074efe528 Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form. 2012-10-28 20:28:55 -04:00
Scott González
5bd19650a3 Datepicker: Removed iframe cover for IE6. 2012-10-26 15:59:29 -04:00
Scott González
2a68a7d2bc Dialog tests: Removed stack option. 2012-10-26 14:38:27 -04:00
Scott González
d68ef5e4e1 Tests: Removed old code that kept bad test suites out of TestSwarm. 2012-10-26 13:47:34 -04:00
Scott González
68cab60fa7 Removed bgiframe. 2012-10-26 10:53:17 -04:00
Jörn Zaefferer
b8e0de2444 Effects: Remove deprecated $.effects[]. Fixes #7115 - Effects: Remove support for effects in $.effects[]. 2012-10-25 09:29:11 -04:00
Scott González
2582bfab46 Position: Removed offset option. Fixes #6982 - Position: Remove offset option. 2012-10-25 06:39:14 -04:00
Scott González
bc44e61dd9 Accordion: Removed change and changestart events. Fixes #6841 - Accordion: Remove changestart event. Fixes #6843 - Accordion: Remove change event. 2012-10-25 06:19:25 -04:00
Scott González
8d35c03dfd Accordion: Removed animated option. Fixes #8601 - Accordion: Remove animated option. 2012-10-25 06:15:30 -04:00
Scott González
054b208a99 Tabs: Removed all templating features. Fixes #7158 - Tabs: Remove add and remove methods. Fixes #7157 - Tabs: Remove templating (idPrefix, tabTemplate, panelTemplate options). Fixes #7149 - Tabs: Remove use of title attribute. 2012-10-25 06:10:00 -04:00
Scott González
056f83fb01 Tabs: Removed back-compat filter in tests for negative active option. 2012-10-25 06:00:18 -04:00
Scott González
3d6c2a66d4 Tabs: Removed back-compat for load event. Fixes #8731 - Tabs: Remove back-compat for load event. 2012-10-25 05:59:20 -04:00
Scott González
828b3c420c Tabs: Removed abort method. Fixes #7150 - Tabs: Remove abort method. 2012-10-25 05:48:51 -04:00
Scott González
6a00d418bc Tabs: Removed spinner option. Fixes #7151 - Tabs: Remove spinner option. 2012-10-25 05:47:51 -04:00
Scott González
a9053d9300 Tabs: Removed selected option. Fixes #7152 - Tabs: Remove selected option. 2012-10-25 05:46:54 -04:00
Scott González
fb525e1cb1 Tabs: Removed select event. Fixes #7154 - Tabs: Remove select event. 2012-10-25 05:45:18 -04:00
Scott González
a1fd49fb29 Tabs: Removed show event. Fixes #7155 - Tabs: Remove show event. 2012-10-25 05:44:22 -04:00
Scott González
7cf2719d0c Tabs: Removed select method. Fixes #7156 - Tabs: Remove select method. 2012-10-25 05:41:14 -04:00
Scott González
0fc682a8da Tabs: Removed enable and disable events. Fixes #7160 - Tabs: Remove enable and disable events. 2012-10-25 05:39:15 -04:00
Scott González
1a7958a430 Tabs: Removed length method. Fixes #7161 - Tabs: Remove length method. 2012-10-25 05:37:37 -04:00
Scott González
0429532ad1 Tabs: Removed cookie option. Fixes #7162 - Tabs: Remove cookie option. 2012-10-25 05:36:24 -04:00
Scott González
723d3e0040 Tabs: Removed fx option. Fixes #8320 - Tabs: Remove fx option. 2012-10-25 05:32:02 -04:00
Scott González
acdd1917b2 Tabs: Removed url method. Fixes #7148 - Tabs: Remove url method. 2012-10-25 05:28:54 -04:00
Scott González
52a184e31c Tabs: Removed ajaxOptions and cache options. Fixes #7147 - Tabs: Remove ajaxOptions and cache options. 2012-10-25 05:27:33 -04:00
Jörn Zaefferer
974e5f8196 Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove resize method. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
d67bc412a8 Accordion: Removed deprecated activate method and expanded active option. Fixes #6837 - Accordion: Remove the activate method. Fixes #6853 - Accordion: Remove support for non-number/falsey values for active option. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
fd952c5a79 Accordion: Removed deprecated icon option. Fixes #6835 - Accordion: Remove icons.headerSelected. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
09eed560f8 Accordion: Removed deprecated navigation options. Fixes #5870 - Accordion: Remove navigation options. 2012-10-24 17:44:06 -04:00
Jörn Zaefferer
0cdd5591be Accordion: Remove deprecated height options. Fixes #5868 - Accordion: Remove clearStyle option. Fixes #5872 - Accordion: Remove autoHeight and fillSpace options. 2012-10-24 17:44:06 -04:00
Nate Eagle
3829a37ca1 Dialog: Awesome new stacking and overlay implementation. Fixes the following tickets:
Fixes #3534 - Dialog: Modal dialog disables all input elements on page.
Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari.
Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall.
Fixes #5388 - Dialog: Don't change z-index when already at the top.
Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events.
Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead.
Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work.
Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle.
Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6).
Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps.
Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog.
Fixes #8583 - Dialog: Mouse event wrongly stopped.
Fixes #8722 - Dialog: Remove stack option.
Fixes #8729 - Dialog: Remove zIndex option.
2012-10-24 16:56:19 -04:00
Jörn Zaefferer
721a4b4ae0 Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element 2012-10-24 10:42:21 -04:00
Scott González
848ab48583 Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget. 2012-10-24 10:13:51 -04:00
Jörn Zaefferer
ba752cf7ed Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - Tooltip: Disabled tooltips on initialization. 2012-10-24 10:02:21 -04:00
Scott González
86a958d3aa Core: Update :focsable and :tabbable to handle parents with no height/width, but visible overflow. Fixes #8643 - :focusable pseudo-selector does not find elements if parent has 0x0 dimension. 2012-10-23 15:12:54 -04:00
Scott González
97b4813f30 Tooltip tests: Fixed new default value for position option. 2012-10-23 15:07:19 -04:00
Marc-Andre Lafortune
8bb05d23e2 Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target. 2012-10-23 14:06:30 -04:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Mike Sherov
d67522e329 Build: Upgrade to the latest Grunt and JSHint - Closes gh-786 2012-10-22 17:04:08 -05:00
Scott González
9b908878ae Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work. 2012-10-22 15:36:11 -04:00
Scott González
6bedc0af35 Whitespace. 2012-10-22 15:36:11 -04:00
Trey Hunner
49f9b849b9 Remove trailing whitespace and add final newlines 2012-10-21 22:45:41 -04:00
Corey Frang
8b76684a92 Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783 2012-10-21 16:46:57 -05:00
Jörn Zaefferer
78f781fccd Tooltip: Unit test for nested tooltips 2012-10-21 13:25:36 -04:00
Jörn Zaefferer
132e9f0c72 Tooltip: Update events test to cover correct behaviour 2012-10-21 13:15:59 -04:00
Andrew Couch
0b3e59f149 Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time. 2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736 Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed 2012-10-21 13:15:44 -04:00
David Petersen
c2802d7aa0 Accordion: handle active: null. Fixes #8694: 1.9 Accordion - active: null allows panels to be collapsible. 2012-10-18 00:08:37 -04:00
David Petersen
35dc9307fc Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event. 2012-10-17 20:28:27 -04:00
TJ VanToll
5e24a1ce4b Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset. 2012-10-16 23:09:26 -04:00
Scott González
bd3a348776 Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only]. 2012-10-12 20:26:47 -04:00
Scott González
94221c4e5b Tabs: Use aria-controls instead of the anchor's href to match against location.hash. Fixes #8660 - Tabs: Set initial active tab from location hash for ajax tabs. 2012-10-12 11:07:04 -04:00
Scott González
a3f1a34d3b Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily. 2012-10-10 11:45:48 -04:00
Scott González
0a31a82831 Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties. 2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72 Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error. 2012-10-05 11:26:49 -04:00
Scott González
2c50b1b8b5 Accordion: Only adjust height animations for heightStyle: content. Fix tests that punch .animate(). 2012-10-01 16:52:54 -04:00
Scott González
a638acb583 Upgrade jQuery to 1.8.2. 2012-09-20 21:41:47 -04:00
Scott González
7023ed4699 Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements. 2012-09-12 09:28:51 -04:00
Scott González
e162fddd95 Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set. 2012-09-05 16:07:36 -04:00
Scott González
e242868f56 Tooltip: Allow strings for content option. 2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44 Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically. 2012-08-31 15:38:21 -04:00
Jörn Zaefferer
7852583980 Restore QUnit's now dead feature of using jQuery to reset the fixture. Fixes tooltip unit tests 2012-08-30 15:20:36 +02:00
Scott González
b22e3c36f2 Tooltip tests: Added test for widget() method. 2012-08-26 20:21:24 -04:00
Scott González
072919467d Tabs tests: Added test for widget() method. 2012-08-26 20:20:43 -04:00
Scott González
1540f4afc8 Whitespace 2012-08-26 20:20:13 -04:00
Scott González
383d0dbfae Spinner tests: Added test for widget() method. 2012-08-26 20:19:35 -04:00
Scott González
dc7c26b8d1 Progressbar tests: Added test for widget() method. 2012-08-26 20:18:21 -04:00
Scott González
2e491e0bb7 Menu tests: Added test for widget() method. 2012-08-26 20:17:36 -04:00
Scott González
355a1a6f0a Menu tests: re-order tests. 2012-08-26 20:16:30 -04:00
Scott González
7f6ef7ffad Autocomplete tests: Added test for widget() method. 2012-08-26 20:15:03 -04:00
Scott González
103463323a Accordion tests: Added test for widget() method. 2012-08-26 20:00:36 -04:00
Scott González
42b21fd3ed Tests: Removed completed TODO. 2012-08-26 18:37:30 -04:00
Scott González
af67883226 Tabs: Set ajaxOptions in intial $.ajax() call. Fixes #8504 - Ajax in Tabs not passing data in 1.9. beta 1. 2012-08-17 09:08:07 -04:00
Scott González
1e6b2b2298 Upgrade jQuery to 1.8.0. 2012-08-13 09:19:09 -04:00
Scott González
bfec28eb0d Tabs tests: Removed workaround for Firefox <13 passing values to setTimeout(). 2012-07-26 20:35:48 -04:00
Scott González
75105f612c Slider tests: Fixed style checks for orientation test. 2012-07-17 15:05:05 -04:00
Scott González
174df61a6e Slider tests: Minor cleanup: added expect() calls, fixed left-over slider that was appended to body. 2012-07-17 15:04:16 -04:00
Scott González
f7b32d9a8f Menu tests: Removed test for key handling when the element doens't have focus (illogical test). 2012-07-17 14:08:16 -04:00
Scott González
b073cda1a5 Dialog tests: Fixed calls to $.contains() that were passing jQuery objects instead of elements. 2012-07-13 15:52:32 -04:00
Jörn Zaefferer
e054e28836 Spinner: Introduce icons option to make button icons customizable, mostly for consistency 2012-07-12 18:07:40 +02:00
Jörn Zaefferer
7759fb4dba Menu: Rename icon option to icons.submenu 2012-07-12 17:50:34 +02:00
Jörn Zaefferer
1510f7e28a Update externals to latest mousewheel plugin, drop the version from the fielname while at it 2012-07-12 17:34:55 +02:00
Jörn Zaefferer
0a4c334430 Update to QUnit 1.9.0 and use new urlConfig for custom checkboxes 2012-07-11 14:44:23 +02:00
Scott González
b2b54790b2 Menu tests: Added TODOs for missing method tests. 2012-07-10 15:23:04 -04:00
Scott González
70c5cce84e Menu tests: Proper detection for absence of ui-state-disabled class. 2012-07-10 14:01:23 -04:00
Scott González
51c0878c41 Menu tests: More complete role option tests. 2012-07-10 13:58:20 -04:00
Scott González
566c5f4058 Menu: Alphabetize options. 2012-07-10 12:07:00 -04:00
kborchers
db3fabedb4 Menu: Expose the submenu indicator icon as an icon option 2012-07-10 00:14:54 -05:00
Scott González
a79d09a905 Widget: Create lowercase pseudo selectors. Fixes #8433 - Widget: Create lowercase pseudo selectors. 2012-07-09 16:02:43 -04:00
Scott González
a6e6a0504f Tabs tests: Added tests for show and hide options. 2012-07-05 21:07:49 -04:00
Scott González
c6567ba880 Tabs tests: Add tests for accessibility of ajax tabs. 2012-07-05 20:49:00 -04:00
Scott González
25d5aa1fa1 Menu tests: Split out markup structure and accessibility assertions. 2012-06-28 05:38:08 -07:00
Scott González
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
9b6c1c5cdb Menu tests: Cleanup. 2012-06-27 09:49:56 -04:00
Scott González
abbf6a79a9 Tests: Update support comments. 2012-06-25 14:51:51 -04:00
Scott González
0e550f16bb Core tests: Updated support comments. 2012-06-25 14:46:45 -04:00
Scott González
f612a41b18 Effects tests: Convert step callback to a no-op after first call in animateClass test. 2012-06-25 13:05:01 -04:00
Jörn Zaefferer
0fcf37fba6 Tooltip: Make title-tests pass in IE6/7 with jQuery 1.6, where undefined attribute is returned as empty string 2012-06-19 17:12:38 +02:00
Jörn Zaefferer
8f6c656c28 Core: Make uniqueId test pass in IE6/7 with jQuery 1.6, where undefined id is returned as empty string 2012-06-19 17:08:38 +02:00
Scott González
156f07b48a Menu tests: Saner output for log helper. 2012-06-18 13:38:16 -04:00
Scott González
f92f8bb56b Menu tests: Cleanup. 2012-06-18 13:26:46 -04:00
Scott González
7c74af7b22 Button tests: Use domEqual() to test destroy(). 2012-06-16 08:24:29 -04:00
Scott González
67540fd539 Effects tests: Don't use internal jQuery properties to detect support for fixed positioning. 2012-06-16 08:19:41 -04:00
Scott González
8e541f1bf6 Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'. 2012-06-15 13:42:00 -04:00
Scott González
e79c79df4e Effects tests: Fixed JSHint references. 2012-06-15 13:37:05 -04:00
Scott González
92fb5567a2 Effects: Renamed all files. 2012-06-15 12:47:12 -04:00
Jörn Zaefferer
5c2cf39dff Tooltip: Add track option 2012-06-14 12:38:13 -04:00
Scott González
ff39bed57a Widget: Added _off() for removing event handlers. Fixes #7795 - Widget: _on and _off. 2012-06-14 12:33:16 -04:00
Scott González
00d4beb0ca Widget: Create eventNamespace property instead of constantly rebuilding it. 2012-06-14 11:17:20 -04:00
Jörn Zaefferer
28b14ec47c Generate a uuid for each widget for unique namespaces. Fixes #8385 - Widget: _bind() on elements such as document are dangerous 2012-06-14 10:39:41 -04:00
Jörn Zaefferer
386bb7214b Spinner: Fix ghost log call in events unit test, never shows up in browser for some reason 2012-06-13 23:06:34 +02:00
Scott González
9608e98149 Widget: Rename _bind() to _on(). Partial fix for #7795 - Widget: _on and _off. 2012-06-13 08:00:45 -04:00
Scott González
9ebeb0616a Tabs: Walk previous tabs (and loop) in refresh() in case the tab we're trying to activate is disabled. 2012-06-12 10:07:16 -04:00
Scott González
f1031b3f3a Accordion tests: Fixed typos. 2012-06-11 17:24:27 -04:00
Scott González
8c82edb40c Tabs tests: Don't call start directly from setTimeout because Firefox <13 is dumb. 2012-06-11 16:21:12 -04:00
Scott González
aa1e8b5e6c Tests: Check .data() and event bindings in domEqual(). 2012-06-09 20:12:03 -04:00
Scott González
db5f95fcdf Tabs: Panel keyboard support tests. 2012-06-08 22:26:06 -04:00
Scott González
e1eeed6b4f Tabs: CTRL navigation tests. 2012-06-08 22:26:06 -04:00
Scott González
4cacb4bbce Tabs: Basic keyboard support tests. 2012-06-08 22:26:06 -04:00
Scott González
47a427e5a7 Tabs: ARIA tests. 2012-06-08 22:26:06 -04:00
kborchers
2da2ae5070 Menu: Properly remove submenu carat icons and menu dividers during destroy and add a test for this functionality 2012-06-01 00:03:16 -05:00
Jörn Zaefferer
e0fe788ee0 Accordion: Update activate and beforeActivate event properties to newPanel/oldPanel (instead of content). Fixes #6840 and #6842 2012-05-30 14:41:58 +02:00
Scott González
f5954fcd74 Menu tests: Anchor the regex for aria-activedescendant check. 2012-05-30 08:08:12 -04:00
kborchers
240b22b143 Dialog: Use new uniqueId method for generating id's 2012-05-29 23:11:42 -05:00
kborchers
5c96d817be Menu tests: Fix test id's so that they are unique to pass linting 2012-05-29 21:21:35 -05:00
kborchers
112daf1333 Menu tests: Add id's to some anchors to ensure destroy is only removing id's that have been generated 2012-05-29 21:13:45 -05:00
kborchers
1f60380413 Menu tests: Modify test to check for id's generated by the new uniqueId method 2012-05-29 21:13:45 -05:00
kborchers
40e47c0b08 Core: Add the uniqueId() and removeUniqueId() methods written by @scottgonzalez to provide a generalized way of generating and removing generated element id's. Also, added a unit test. Fixed #8361 - Add uniqueId() and removeUniqueId() 2012-05-29 21:13:17 -05:00
Scott González
649a670d1c Tests: Differentiate between attributes and properties in domEqual(). 2012-05-29 15:14:35 -04:00
Danny Trunk
6e2f95f59d Tabs: Added heightStyle option. Fixed #8345 - Tabs: Add heightStyle option. 2012-05-28 15:11:20 -04:00
Scott González
2662edf739 Accordion tests: Check for a specific height in heightStyle: content tests. 2012-05-28 13:42:47 -04:00
Scott González
359d0eadd0 Accordion tests: equalHeights() -> equalHeight(); Validate against a specific height instead of a range. 2012-05-28 12:41:57 -04:00
Scott González
a738d7372e Progressbar tests: Cleanup. 2012-05-25 23:10:46 -04:00
Scott González
e986f36871 Tests: Convert children to an array in domEqual(). 2012-05-25 22:57:08 -04:00
Scott González
3b7c33fd49 Tests: Added several more property checks to domEqual(). 2012-05-25 16:51:51 -04:00
kborchers
fe7ca1f1c3 Menu: Better handling of divider elements and menu items without anchors. 2012-05-24 23:45:12 -05:00
kborchers
474912313a Menu Tests: Increase timeout on page up/down test 2012-05-23 07:24:49 -05:00
kborchers
c275ebe09b Menu Tests: Remove unused unit tests and add new unit tests to improve coverage. 2012-05-22 23:52:59 -05:00
Scott González
1339c1850f Tooltip tests: Added accessibility tests. 2012-05-22 12:54:09 -04:00
Scott González
b6cc9dd870 Tooltip: Handle multiple aria-describedby values. 2012-05-22 11:06:44 -04:00
Scott González
d7359beee6 Autocomplete: Added tests for live region. 2012-05-22 10:09:20 -04:00
Jörn Zaefferer
9dcd0e0eb8 Menu: Handle SPACE same as ENTER, select items or opening submenus 2012-05-22 16:01:40 +02:00
TJ VanToll
1f1613852c Button: Corrected default label applied to submit buttons. Fixed #8337: Submit inputs don't automatically set label option. 2012-05-22 08:43:21 -04:00
Scott González
51863d5a71 Don't use :input selector. 2012-05-21 14:49:49 -04:00
Scott González
e6f21410ff Don't use :checkbox selector. 2012-05-21 12:47:15 -04:00
Scott González
9ac52deaa2 Don't use :radio selector. 2012-05-21 12:43:35 -04:00
Jörn Zaefferer
9de4da9d10 Menu: Extend test for destroy method 2012-05-21 16:27:04 +02:00
Scott González
5c9d9f9e9d Tabs: Pass the list item instead of the anchor in events; move aria-controls from the anchor to the list item. 2012-05-18 16:11:14 -04:00
Scott González
c549864572 Tests: Use versioned jQuery files in index files. 2012-05-18 11:31:01 -04:00
Jörn Zaefferer
627d27fea2 Menu: Tests for role option 2012-05-18 16:04:54 +02:00
Jörn Zaefferer
f4b2d7a411 Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers 2012-05-16 11:55:12 +02:00
Scott González
c0f6b0ccdf Tests: Cleaned up index pages. Fixes #7374 - Broken link to Static and Visual tests (Index of Static and Visual tests do not exist). 2012-05-15 16:43:47 -04:00
Yi, EungJun
b2a51a589a Draggable tests: Fixed typo. 2012-05-15 13:15:31 -04:00
Scott González
d4318a5f4c Tabs: Replaced fx option with show and hide options. Fixes #8319 - Tabs: Deprecate fx option. 2012-05-14 14:40:06 -04:00
Scott González
d393c8b4cb Spinner: Handle async focus events in IE. Fixes incorrect detection of changes. 2012-05-10 17:59:55 -04:00
Jay Merrifield
cab4c467d9 Dialog: Handle escape for all overlays. Fixes #8300 - Dialog: Incorrect behavior for ESCAPE with multiple modal dialogs. 2012-05-07 09:44:26 -04:00
Jörn Zaefferer
a0c734b9e1 Position: Apply IE6 line-height workaround to deprecated tests, too 2012-05-07 12:19:19 +02:00
Scott González
cba2b6c74f Position tests: Work around IE6 bug with forced heights on small elements. 2012-05-04 20:54:27 -04:00
Scott González
dec5b48898 Tabs tests: Work around IE quirks. 2012-05-04 11:21:50 -04:00
Jörn Zaefferer
96510ea6cc Core tests: Fix double focus in IE 2012-05-04 17:14:56 +02:00
Jörn Zaefferer
f9e61eb617 Fully revert breaking changes to core unit tests markup (htmllint ignores it now anyway).
Also update grunt.js: Simplify default task to finish that faster (also less console spam), remove beta from testswarm browserset, we don't need to test IE10 yet.
2012-04-30 14:58:03 +02:00
Scott González
fc3fc6ec2e Effects tests: Added TODO for disabled test. 2012-04-30 08:42:01 -04:00
Corey Frang
aacdccc394 Effects Tests: Disabling focus based test - need some help here @scottgonzalez 2012-04-30 01:05:30 -05:00
Corey Frang
fe55b6cddb Effects: Updating unit tests to use some more stable logic hopefully 2012-04-30 00:19:52 -05:00
Corey Frang
1da2bf0daf Tests: Linting 2012-04-30 00:19:26 -05:00
Scott González
27072de094 Tests: Run JSHint. 2012-04-29 20:22:52 -04:00
Scott González
24d978f833 Core tests: Coding standards. 2012-04-29 20:22:52 -04:00
Richard D. Worth
24d06bfc4d Partial revert to fix IE6 regression in 258a637 2012-04-26 14:37:52 -04:00
Jörn Zaefferer
9938e99964 Position: Fix markup for deprecated tests. Insert/remove some new lines to make comparision to position.html trivial 2012-04-26 20:16:06 +02:00
Richard D. Worth
258a637cc6 Fix various issues in our html files, fifth batch 2012-04-26 09:47:05 -04:00
Jörn Zaefferer
db72cb7e94 Merge branch 'position-notification' 2012-04-24 17:29:16 +02:00
Jörn Zaefferer
252352e124 Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests 2012-04-24 17:23:25 +02:00
Jörn Zaefferer
1a0f2e4659 Position: Extend unit test for using to check feedback properties 2012-04-24 16:17:02 +02:00
Scott González
cbc5207c41 Position tests: Fixed typo. 2012-04-24 09:04:58 -04:00
Scott González
88e141801c Tests: Check for null error objects when reporting JSHint errors. 2012-04-24 07:43:26 -04:00
Shahyar G
f3b022ddb8 Use length property, instead of the deprecated size() method. 2012-04-23 20:49:57 -04:00
Scott González
9df981d268 Position: Added tests for flipfit. 2012-04-23 16:07:58 -04:00
Scott González
b093b6f6f7 Position tests: Simplify logic and reduce tests. 2012-04-23 15:52:20 -04:00
Jörn Zaefferer
d40993dcf6 Fix various issues in our html files, third batch 2012-04-23 18:55:11 +02:00
Jörn Zaefferer
22edb77559 Fix various issues in our html files, second batch 2012-04-23 18:44:17 +02:00
Scott González
15705723b2 Position tests: Removed unused elements. 2012-04-23 12:23:59 -04:00
Scott González
3cb9ab723a Tests: Add custom URL configs to QUnit.config.urlConfig for discoverability. 2012-04-23 10:47:43 -04:00
Scott González
b042f8ebd6 Tests: Moved loadResources to TestHelpers. 2012-04-23 10:43:01 -04:00
Scott González
7a5a77da50 Tests: Rename {widget}_defaults.js -> {widget}_common.js 2012-04-23 10:15:17 -04:00
Scott González
3b54760b51 Tests: Run JSHint in unit tests, unless nojshint=1 is specified in the query string. 2012-04-23 08:44:55 -04:00
Jörn Zaefferer
7ec8c7fbbc Update to latest qunit-composite 2012-04-22 12:47:33 +02:00
Jörn Zaefferer
ce3c7fab93 Update to official qunit composite addon 2012-04-21 17:49:11 +02:00
Scott González
c090fe9486 Resizable tests: Remove all bad tests. 2012-04-20 11:23:37 -04:00
Scott González
31f3d0e6a3 Resizabe tests: Use equal() instead of equals(). 2012-04-20 11:20:50 -04:00
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
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
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
Jörn Zaefferer
6de8030f01 Merge branch 'accordion-cleanup' 2012-03-18 15:46:11 +01: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
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
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
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
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