Commit Graph

1608 Commits

Author SHA1 Message Date
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
Trey Hunner
0bcbfe7146 Replace mixed CRLF/LF line endings with LF 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
Jörn Zaefferer
6b48ef5eca Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows 2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291 Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements 2012-10-21 12:49:32 -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
Rafael Xavier de Souza
92e1e83eca Tests: Fix padding from 4% to 2%, since width is 96%. 2012-09-19 16:33:46 -03: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
Kris Borchers
e1fd8ea6b3 Tooltip tests: Fixed typo 2012-09-05 20:37:29 -05: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
485ca7192a Simplify licensing. 2012-08-09 15:09:50 -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
Corey Frang
3c2198b226 Tests: Fixining jquery include version 2012-07-23 12:07:35 -05:00
Corey Frang
cb41ec798a Build: Splitting Release Coverage build into three 2012-07-23 10:54:06 -05: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
a4534bb993 Update copyright to jQuery Foundation. 2012-07-04 09:08:08 -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