Commit Graph

1676 Commits

Author SHA1 Message Date
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
f11de83554 Menu Tests: Make the elements without anchors look like group headings and remove disabled elements to focus on dividers and no anchor elements 2012-05-25 07:43:29 -05: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
75f6b5f188 Position visual tests: Cleanup. 2012-05-20 20:34:21 -04: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
Jörn Zaefferer
ba1776a513 Position: Cleanup visual tests, keep general and feedback 2012-05-18 19:14:37 +02:00
Scott González
c549864572 Tests: Use versioned jQuery files in index files. 2012-05-18 11:31:01 -04:00
Scott González
b52c4ece53 Menu visual tests: cleanup. 2012-05-18 10:40:44 -04:00
Scott González
63915d16af Tooltip visual tests: Cleaned up animation tests. 2012-05-18 10:07:39 -04:00
Scott González
0b205572bf Tooltip visual tests: Removed now-unused ajax content. 2012-05-18 10:07:39 -04:00
Scott González
15ccc1ad7a Tooltip: Cleaned up visual test. 2012-05-18 10:07:38 -04:00
Jörn Zaefferer
627d27fea2 Menu: Tests for role option 2012-05-18 16:04:54 +02:00
Jörn Zaefferer
49b1a190b6 Visual tests: Fix index links 2012-05-18 15:29:43 +02:00
Jörn Zaefferer
c0873f5da9 Menu: Update default visual test, remove the disable/toggle buttons, that behaviour must be covered by unit tests 2012-05-18 15:18:19 +02:00
Jörn Zaefferer
5fa6821897 Menu: Update default visual test, add headings and fix disable/destroy toggle buttons 2012-05-18 15:15:00 +02:00
Jörn Zaefferer
8bd0426e36 Menu: Remove tablemenu visual test, broken and not interesting 2012-05-18 15:10:44 +02:00
Jörn Zaefferer
70ce3f1f70 Menu: Remove drilldown visual test, broken and superceded by James Rosen's implementation 2012-05-18 15:08:43 +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
Scott González
00375d97bb Removed static tests directory. 2012-05-15 16:10:12 -04:00
Yi, EungJun
b2a51a589a Draggable tests: Fixed typo. 2012-05-15 13:15:31 -04:00
Scott González
44a086b92c Visual tests: Effects cleanup. 2012-05-15 12:52:18 -04:00
Scott González
1f2469234b Visual tests: Cleanup. 2012-05-15 10:45:13 -04:00
Scott González
86569d8ebc Visual tests: Renamed files. 2012-05-15 10:07:05 -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
Scott González
eaec319df3 addClass visual test: Added description of test. 2012-05-08 17:59:58 -04:00
Scott González
fa44e51016 Compound visual tests: Cleanup. 2012-05-08 14:40:45 -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
Lukasz Lipinski
b16780764c target variable is already defined 2012-04-27 14:09:00 +03: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
4fd2befe94 tests visual position: minor refactor 2012-04-26 10:06:01 -04: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
0f575e03bb Merge branch 'master' into position-notification
Conflicts:
	tests/unit/position/position_core_within.js
2012-04-23 16:33:34 -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
0a6b126413 Fix various issues in our html files, fourth batch 2012-04-23 19:07:03 +02: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
Jörn Zaefferer
6ccfb20c8b Grunt: Add JSHINT to predefs for tests 2012-04-23 18:13:40 +02: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
Scott González
a166540251 Use .jshintrc files. 2012-04-20 11:19:27 -04:00
Scott González
af1576280a Position visual tests: Cleanup. 2012-04-20 11:18:58 -04:00
Scott González
308b55e50c Merge branch 'master' into position-notification 2012-04-20 11:06:11 -04:00
Scott González
2cf9948cad Position: Use offsets for all calculations in feedback API. 2012-04-20 11:02: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
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
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
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
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
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
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
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
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
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
Scott González
e2d9b02c56 Simulate: Define getters for pageX and pageY in mouse events if they come through as 0. Fixes #7324 - simulate mouse events broken for IE 9. 2012-01-12 08:59:53 -05: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
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
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
kborchers
aa8c4770a9 Menu: Update the default visual test to use the new menus option that replaced the items option 2011-12-07 14:51:46 -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
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
Scott González
93214d6ddc Widget tests: Fixed _super() call in redefine test. 2011-11-21 08:43:08 -05: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
Richard D. Worth
b90d83c6c4 Simulate: fixed charCode to be undefined unless specified. Fixed #3229 - Safari: jQuery.simulate() doesn't set "which" field for key events 2011-11-07 15:49:20 -05:00
Scott González
416101b464 Tests: Removed unnecessary visual tests for button. 2011-11-03 09:01:15 -04:00
Scott González
95d7314bd9 Tests: Removed visual tests for plugins that are being rewritten. 2011-11-03 08:45:23 -04: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
183d6a00df Tests (Simulate): Make the blur event async to deal with IE's native blur being async. 2011-11-01 16:35:49 -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
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