Commit Graph

854 Commits

Author SHA1 Message Date
jzaefferer
9fa6edcbec Spinner: Visual test page for events 2010-10-27 17:47:49 +02:00
jzaefferer
48a5977d33 Tooltip: Implementing event delegation support. 2010-10-26 17:07:22 +02:00
jzaefferer
bdd815e8dc Tooltip: Demo and tests update 2010-10-26 15:36:43 +02:00
Scott González
f4d8ec9159 Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden. 2010-10-26 09:05:38 -04:00
jzaefferer
8b4245ac7e Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead 2010-10-26 14:32:03 +02:00
jzaefferer
61b4b3e445 Tooltip: Unit tests cleanup 2010-10-26 14:26:53 +02:00
jzaefferer
f667bb3c8d Slider: Some more refactoring and cleanup 2010-10-26 12:44:32 +02:00
jzaefferer
134205840b Slider: Some more test suite improvements 2010-10-26 12:21:54 +02:00
jzaefferer
2df094527e Spinner: Changed default for numberformat to null. Fixed disabled option to not prevent changing value via step and page methods. OVerhauled testsuite. 2010-10-26 12:14:45 +02:00
jzaefferer
0a1da016ff Slider: Update to latest mousewheel plugin 2010-10-26 10:53:03 +02:00
jzaefferer
299d5c88b8 Spinner: Fix value option initalization 2010-10-25 17:32:08 +02:00
jzaefferer
1be2a79076 Spinner: More cleanup 2010-10-24 15:57:58 +02:00
jzaefferer
02d8f914b6 Spinner: Some code and test cleanup 2010-10-24 15:52:26 +02:00
jzaefferer
af8ca4ed0e Importing spinner unit tests 2010-10-22 06:23:52 +02:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
Scott González
789e7f753e Autocomplete tests: Removed reference to non-existent menu plugin. 2010-10-21 22:16:27 -04:00
jzaefferer
732a485676 Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton. 2010-10-21 21:03:48 +02:00
Scott González
7d9d2b551f External: Updated bgiframe to 2.1.2. Fixes #6190 - Dialog demos don't work in IE9 because of bgiframe. 2010-10-19 23:05:13 -04:00
Scott González
512825d358 Widget: Added ability to define how to find options on init. Fixes #6158 - Widget: Ability to define new methods for gathering options on init. 2010-10-06 15:11:49 -04:00
jenters
c3145b691b Tab: modified init to display correct content of misordered div when hash present in url. Fixed #6125 - Incorrect selection of tab on init with hash in url and misordered divs 2010-10-04 10:40:27 -04:00
John Firebaugh
e66cdfcf59 Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7. 2010-10-04 09:18:46 -04:00
Scott González
c090802cc1 Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
This reverts commit 67b1db14c9.

Reverting so I can commit again with the proper author.
2010-10-04 09:18:21 -04:00
Scott González
67b1db14c9 Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7. 2010-10-04 09:15:40 -04:00
Scott González
a2ddfd5107 Widget: Added create event. Fixes #6126 - Widget: Add create event. 2010-09-29 17:36:45 -07:00
Scott González
9d88b565d6 Widget: Added _setOptions method for handling normalized options setting. Fixes #6114 - Widget: Add _setOptions() method. 2010-09-27 11:21:09 -04:00
Scott González
0b6710aed7 Progressbar: Added a complete event. Fixes #3500 - Progressbar callback at the end. 2010-09-27 10:44:04 -04:00
Scott González
adcafce7a2 Autocomplete: Only prevent the default action for enter when a menu item is active. Fixes #6038 - Autocomplete: Allow default behaviour on enter when menu is open but inactive.
Thanks Ján Suchal.
2010-09-27 10:10:00 -04:00
Scott González
0c82f7ec2c Dialog tests: Enabling in TestSwarm. 2010-09-07 12:28:36 -04:00
Scott González
0050f234a8 Dialog: Fixed test for default title. Some browsers were returning an actual non-breaking space and some were returning the string " ". 2010-09-07 09:49:58 -04:00
Scott González
d80e2236f6 Dialog: Reduced size of dialogs in height/width tests. 2010-09-07 08:58:20 -04:00
Scott González
78540e2c0c Tabs: Allow non-latin characters for ids. Fixes #4581 - title attribute for remote tabs does not support foreign languages. 2010-09-03 11:35:10 -04:00
Scott González
ddb9a783a8 Position: Added visual test for flipping with margin and box-shadow. 2010-09-03 10:39:19 -04:00
Ben Hollis
4b9d5d1b5b Position: Take margin into account when performing collisions. Fixes #5766 - position: collision should take margin into account. 2010-09-03 10:38:44 -04:00
Scott González
0a0a39f896 Widget: Hook into jQuery.cleanData to auto-destroy widgets. Fixes #6008 - Widget: auto-destroy is broken in jQuery 1.4. 2010-09-03 09:49:29 -04:00
Scott González
e5f3bfce4d Core tests: Enabled TestSwarm. 2010-09-02 11:54:40 -04:00
Scott González
0ab54d87dc Core tests: Fixed object element for focusable/tabbable tests. Fixes #4488 - :focusable and :tabbable are broken with jQuery 1.3.2. 2010-09-02 11:51:24 -04:00
Scott González
23d4eb5372 Core tests: Split .focus() test into two tests to avoid bug in IE with stop() and start(). 2010-09-02 11:14:00 -04:00
Scott González
d8c6c32b87 Core tests: Reordered some elements to avoid some bug in IE. 2010-09-02 10:38:45 -04:00
Scott González
cf545b8ff7 Position tests: Set a line-height on elements with a height less than 10px. Fixes failing tests in IE6. 2010-09-02 09:41:10 -04:00
Scott González
2365d03cef Dialog: Fixed a broken maxHeight test.
The size tests are fragile because they require the browser window to be large enough to contain the dialog.
2010-09-02 08:41:28 -04:00
Scott González
de02aa34a8 Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - Dialog: _isOpen flag should be set before triggering open event. 2010-09-02 08:35:40 -04:00
Scott González
95a34593f9 Dialog: Added additional syntax for creating buttons. Fixes #4344 - Dialog: Enhanced Button Option. 2010-08-31 10:17:53 -04:00
jzaefferer
90345b30d8 Testsuite: Revert localhost back to swarm.jquery.org (thanks bugbegone) 2010-08-30 09:42:38 +02:00
jzaefferer
d8bee228b3 Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions 2010-08-29 17:21:39 +02:00
Scott González
79ee6f0d7b Dialog: When using the title attribute, update the title option. Fixes #5877 - Dialog: when using the title attribute, the title option should be updated. 2010-08-27 18:02:11 -04:00
Scott González
1e28040cf3 Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-08-27 14:48:17 -04:00
Scott González
52a052be79 Position: Handle $(document) and $(window) for the of option. Fixes #5963 - Position: option 'of' accepts jQuery object unless it wraps document. Fixes #5655 - (Possible) Typo in jquery.ui.position 1.8.1. 2010-08-27 13:34:14 -04:00
Scott González
dd035d1123 Widget tests: Coding standards. 2010-08-26 12:05:40 -04:00
Scott González
306764ca0f Widget: Added more unit tests. 2010-08-26 11:49:07 -04:00
Scott González
edfc8631d1 Widget Tests: Coding standards. 2010-08-26 10:59:51 -04:00
Scott González
001b4b08f0 Widget: Added more unit tests. 2010-08-26 10:50:26 -04:00
Scott González
df786f80eb Widget: Added tests for re-initialization. 2010-08-23 15:35:28 -04:00
Scott González
2838c11ea8 Button: Read disabled attribute from original element if disabled option is null. Fixes #5252 -Button: read disabled option from input elements. 2010-08-18 14:51:30 -04:00
Scott González
9060bf3d09 Buttonset: Ignore hidden buttons. Fixes #5946 - buttonset should ignore buttons that are not :visible. 2010-08-18 10:13:57 -04:00
ph-ausseil
03eea0e39d Tabs: Ignore sublists. Fixes #5893 - Tabs: ability to contain sublists. 2010-08-11 23:06:41 -04:00
Ziling Zhao
c5770c0e84 Dialog: modified so that minWidth is respected. Fixes #5531 - dialog width should be at least minWidth on creation. 2010-07-30 15:14:48 -04:00
Scott González
90caa93a9b Autocomplete: Respect the disabled option. Fixes #5619 - Autocomplete widget keeps looking for remote data even when it's disabled. 2010-07-30 12:59:33 -04:00
Scott González
58ae7ce2fd Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0.
2010-07-30 12:38:18 -04:00
jzaefferer
dffcba0ba6 Update to latest QUnit. 2010-07-30 14:39:54 +02:00
jzaefferer
96977edecc Use pushStack in tooltip's widget method. See #5732 2010-07-30 14:30:43 +02:00
jzaefferer
ea58cd5ac0 Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack 2010-07-30 14:26:58 +02:00
jzaefferer
39f0c1010a Added widget to unit tests index page. 2010-07-30 14:02:55 +02:00
jzaefferer
3f45f5ccf9 Improving visual testcase for position. Partial fix for #5284 - Position: Smarter collision detection 2010-07-30 11:33:49 +02:00
Scott González
61e0aeac7e Dialog: Wrap buttons in a div so we can float the div instead of the individual buttons. Fixes #4529 - dialog buttons are accessed in wrong order using tab. 2010-07-29 20:56:28 -04:00
Scott González
f00c03139b Progressbar: cleanup. 2010-07-29 05:38:24 -04:00
Scott González
94cefc19b0 Tabs: coding standard. 2010-07-28 11:56:54 -04:00
Scott González
c4369bdaec Core Tests: Fixed image reference. 2010-07-22 19:27:37 -04:00
Scott González
fe13fbadd4 Core: Better support for areas in :focusable and :tabbable selectors. Partial fix for #4488 - :focusable and :tabbable are broken with jQuery 1.3.2. 2010-07-22 10:33:42 -04:00
Scott González
4deb824699 Core: Added .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight(). Fixes #5850 - .outerWidth(), .outerHeight(), .innerWidth(), .innerHeight() setters. 2010-07-21 22:17:52 -04:00
Scott González
3f070bdc62 Core: Fixed :focusable and :tabbable selectors for to work with :hidden and :visibile selectors in jQuery 1.3.2+. Still need to handle areas properly. Partial fix for #4488 - :focusable and :tabbable are broken with jQuery 1.3.2. 2010-07-21 22:10:16 -04:00
Scott González
74e0d4f473 Autocomplete: Added appendTo option. Fixes #5836 - Autocomplete: add appendTo option. 2010-07-21 14:54:20 -04:00
Scott González
245b932933 Core: Removed tests for .attr() ARIA override since the override no longer exists. 2010-07-21 11:25:33 -04:00
Scott González
8fa9ed7cbc Tabs: Added tests for select event. 2010-07-20 20:51:09 -04:00
Scott González
a090faa833 Menu: float .ui-menu since all .ui-menu-item elements are floated. Fixes #5691 - wrong menu size calculation in webkit browsers (Autocomplete). 2010-07-19 11:22:32 -04:00
Scott González
612838a151 Autocomplete: Added position option. Fixes #5153 - Autocomplete position option. 2010-07-19 09:28:04 -04:00
Scott González
7e03d4ea9d Tabs: Updated tests. 2010-07-16 20:20:28 -04:00
Scott González
369474f315 Button performance test: Don't use alert(). 2010-07-16 10:45:26 -07:00
Scott González
b368491f70 Button performance test: Added alert for time to initialize. 2010-07-16 11:53:37 -04:00
Scott González
2366a81740 Dialog: Fixed tests for position option. 2010-07-16 08:55:03 -04:00
JustinMacCarthy
05368115bb added empty test for containment by array option 2010-07-16 02:44:08 +08:00
Scott González
f24bc0fb1f Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options. 2010-07-15 10:27:21 -04:00
jzaefferer
56aecac811 Updated test for default position option: Reference using-implementation, as QUnit compares functions only by reference 2010-07-15 09:31:36 +02:00
Scott González
96e78a2cb7 Dialog: Updated test for default position option. QUnit still fails the test though. 2010-07-14 16:40:43 -04:00
Ben Hollis
6de9a5368c Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API 2010-07-14 16:29:28 -04:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
2c7a9e9ff3 Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title" moved to title area. 2010-07-14 15:28:01 -04:00
Scott González
cdd6161419 Dialog: Add positioning for content div. Fixes #4319 - Accordion overflow breaks when displayed inside a dialog on Internet Explorer. 2010-07-14 13:47:06 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
jzaefferer
b376fa8dda Menu: Implemented destroy method and disabled option, modified test to pass html-compare-destroy test and extended default visual test for testing destroy and disabled features 2010-06-18 10:57:20 +02:00
Richard D. Worth
5074bf38d3 Datepicker: Added visual test for #5676 - DatePicker Dialog defaultDate incorrect behaviour 2010-05-30 05:06:17 -04:00
Richard D. Worth
202ddd0c58 Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 15:08:37 -04:00
jzaefferer
e815e7c1e4 Visual test for #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 18:28:31 +02:00
Carl Fürstenberg
956f48adf8 Draggable, Resizable: ticket: #5335 - visual test
reduced test to the relevant parts, also fix things pointed out by
rdworth
2010-05-23 10:22:42 +08:00
Carl Fürstenberg
5d95633bed Draggable, Resizable: ticket: #5335 - visual test 2010-05-23 10:22:29 +08:00
jzaefferer
9f56913dcc Tooltip: Enhanced visual test to include a few more buttons and a high element to get a scrollbar 2010-05-15 16:37:52 +02:00
jzaefferer
bf673476ee Fixed visual test for Autocomplete to include select event. Test for #5405 Autocomplete: select event not triggered when mousedown duration > blur timeout 2010-05-15 16:09:12 +02:00
dominiquevincent
4b36cce683 Tabs: unit test to verify that number of panels is equal to number of tabs.
Ticket #5069 - tabs: ui.tabs.add creates two tab panels when using a full URL

Signed-off-by: dominiquevincent <dominique.vincent@toitl.com>
2010-05-10 16:36:13 +08:00
dominiquevincent
c821aa680c Menu:the first set of unit test files.
Signed-off-by: dominiquevincent <dominique.vincent@toitl.com>
2010-05-06 17:10:52 +02:00
carhartl
008def00bd added tests for disabled property 2010-05-05 19:16:39 +08:00
paulirish
37e8dd605d more inline widgets and variations added to theme test page 2010-05-01 18:05:04 +08:00